• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5028
  • Last Modified:

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

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?
0
MSSC_support
Asked:
MSSC_support
  • 7
  • 4
1 Solution
 
Ahmed786Commented:
What are the Errors in the event logs of CAS server, check that and update us here.
0
 
MSSC_supportAuthor Commented:
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
Description:
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">
  <System>
    <Provider Name="MSExchangeTransport" />
    <EventID Qualifiers="32772">12023</EventID>
    <Level>3</Level>
    <Task>12</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-05T16:04:22.000000000Z" />
    <EventRecordID>364065</EventRecordID>
    <Channel>Application</Channel>
    <Computer>V-EXCHCAS1.sea-cadets.org</Computer>
    <Security />
  </System>
  <EventData>
    <Data>CF414B5D61320B56C88AADCEB8FD5CDEF52F75CC</Data>
    <Data>A799EBE84C069ED91755EB73FDE9AF4FF92A3689</Data>
  </EventData>
</Event>


This certificate is not one on the list when executing GET-EXCHANGECERTIFICATE | FL. The above is our old certificate.
0
 
MSSC_supportAuthor Commented:
I have tried to assign the certificate to services which asked to overwrite the old certificate but I still get the certificate errors.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
MSSC_supportAuthor Commented:
Since then the error logs have stopped but I still receive the certificate warning message.
0
 
MSSC_supportAuthor Commented:
Any ideas?
0
 
Ahmed786Commented:
Hi,

Please go through below technet article, this may help you.
0
 
MSSC_supportAuthor Commented:
Can you please send me the link to the article?
0
 
MSSC_supportAuthor Commented:
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.
0
 
Ahmed786Commented:
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.
0
 
MSSC_supportAuthor Commented:
This resolved our issue over DNS and hence installing the correct Certificates on all other Servers.

However, I also required another KB article:

support.microsoft.com/kb/940726

This completed the fix.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now