Exchange CAS certificate expired and renewed and replaced but all Outlook clients still getting Certification expired error.

Posted on 2014-03-05
Medium Priority
Last Modified: 2014-03-17
Our SSL certificate recently expired and was renewed but Outlook 2010 Clients are still getting SSL errors. We use Exchange 2010. We use DNS to point to our external certificate and have the following in place to cater for that:

Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml

Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)" -InternalUrl https://mail.contoso.com/ews/exchange.asmx

Our Outlook Web Access is getting the correct certificate and it seems to be only affecting our internal clients. When I run the Get-exchangeservercertificate command the correct certificates are in place. The old certificate is not visible anywhere yet I still get the error. I have even checked the registry and also under MMC but cannot find the reference point for the old certificate anywhere. Can anyone help?
Question by:MSSC_support
  • 7
  • 4

Expert Comment

ID: 39906553
What are the Errors in the event logs of CAS server, check that and update us here.

Author Comment

ID: 39906754
I've got this one error but this does not make sense.

Log Name:      Application
Source:        MSExchangeTransport
Date:          05/03/2014 16:04:22
Event ID:      12023
Task Category: TransportService
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      V-EXCHCAS1.sea-cadets.org
Microsoft Exchange could not load the certificate with thumbprint of CF414B5D61320B56C88AADCEB8FD5CDEF52F75CC from the personal store on the local computer. This certificate was configured for authentication with other Exchange servers. Mail flow to other Exchange servers could be affected by this error. If the certificate with this thumbprint still exists in the personal store, run Enable-ExchangeCertificate CF414B5D61320B56C88AADCEB8FD5CDEF52F75CC -Services SMTP to resolve the issue. If the certificate does not exist in the personal store, restore it from backup by using the Import-ExchangeCertificate cmdlet, or create a new certificate for the FQDN or the server enabled for SMTP by running the following command: New-ExchangeCertificate -DomainName serverfqdn -Services SMTP. Meanwhile, the certificate with thumbprint A799EBE84C069ED91755EB73FDE9AF4FF92A3689 is being used.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="MSExchangeTransport" />
    <EventID Qualifiers="32772">12023</EventID>
    <TimeCreated SystemTime="2014-03-05T16:04:22.000000000Z" />
    <Security />

This certificate is not one on the list when executing GET-EXCHANGECERTIFICATE | FL. The above is our old certificate.

Author Comment

ID: 39906794
I have tried to assign the certificate to services which asked to overwrite the old certificate but I still get the certificate errors.
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!


Author Comment

ID: 39906881
Since then the error logs have stopped but I still receive the certificate warning message.

Author Comment

ID: 39908728
Any ideas?

Expert Comment

ID: 39908916

Please go through below technet article, this may help you.

Author Comment

ID: 39908925
Can you please send me the link to the article?

Accepted Solution

Ahmed786 earned 1500 total points
ID: 39908971

Author Comment

ID: 39909569
Thank you very much. Using the article I was able to identify that we had two cas servers on DNS for the same certificate address and the second CAS server although it had the correct certificate, was not assigned in IIS. After setting this and rebooting all is well.

Expert Comment

ID: 39911942
Its nice to hear that your issue has been resolved.
So please accept your desired answer so that others can be benifited if they found any issue related to this.

Author Closing Comment

ID: 39933842
This resolved our issue over DNS and hence installing the correct Certificates on all other Servers.

However, I also required another KB article:


This completed the fix.

Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

What is the biggest problem in managing an exchange environment today? It is the lack of backups, disaster recovery (DR) plan, testing of the DR plan or believing that it won’t happen to us.
A method of moving multiple mailboxes (in bulk) to another database in an Exchange 2010/2013/2016 environment...
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question