Exchange cerficaate error

Permabanned
Joined
28 Dec 2009
Posts
13,052
Location
london
I replaced the exchange cert with one that does not include the internal domain and changed all the internal url but some outlook 2010 clients are still getting site mismatch error.

I also have a lot of schannel alerts in the syslog on exchange server.

Here is a more detail post about the problem on technet.

https://social.technet.microsoft.co...local-domain-and-cas-array?forum=exchange2010

Anyone have any ideas?
 
Did you do it via the console or the shell? The console doesn't show all URL's for exchange such as the client access server and autidiscover URL's.
 
I did it all through the shell. I have checked every url there is, all have been updated correctly.

Strange it has worked for my accounts and test profiles but some users still getting it even if i try repair their profile.
 
Is the new certificate assigned correctly? Run Get-ExchangeCertificate and see if the correct certificate is running the IIS services (the certificate will usually have IP.WS.. in the services column).
 
Have you tried iisreset yet?
I can't see why it isn't working if all your URL's are set to the external address and the certificate is setup.
Only other things are if you have a load balancer setup with the cert or a dodgy DNS CNAME entry somewhere
 
Actually it is still not fixed.

I thought that would do it as its the only url that was not changed. However i have since found out that has nothing to do with outlook or ssl so wouldn't fix it even if it was wrong.

So back to investigating the problem.

I have done iisreset, recycle autodiscover pool and restart transport service.

I am out of ideas at this point.

I have since removed the dns cname and the srv records that i created in hope to fix the problem.
 
[PS] C:\Windows\system32>Get-OutlookProvider
Creating a new session for implicit remoting of "Get-OutlookProvider" command...

Name Server CertPrincipalName TTL
---- ------ ----------------- ---
EXCH 1
EXPR 1
WEB 1

Looks like its not even set...?

Set-OutlookProvider EXPR -CertPrincipalName msstd:mail.contoso.com
Set-OutlookProvider EXCH -CertPrincipalName msstd:mail.contoso.com

I should run this is that right?

If i do get-outlookprivder | fl

it all looks fine apart from the server and CertPrincipalName being blank.


I have another site that i manage exchange on and get-outlookprovider is also blank there, but they don't have any problems.
 
Is it just Outlook that is having issues or does OWA also complain? Also does Exchange anywhere work off the network?
If it does, then it certainly points to either a SRV record or something.
Might be worth enabling the logging function in Outlook so see what it's trying to do and also try the Exchange connectivity tester: https://testconnectivity.microsoft.com
 
Back
Top Bottom