We set up a new server SBS 2011 Exchange 2010. I have the SSL cert installed but the users are getting this error or pop up in Outlook: "The name of the security certificate is invalid or does not match the name of the site." They can hit Yes or even install the certificate and it will work but every time they login it gives this pop up. I found this site with a possible solution but I'm not very familiar with the Exchange shell commands and don't want to mess anything up do you think these commands are the solution?
STEP 1:
Exchange 2010 and SBS 2011
(Change the values in red where “EXCHANGE-MAIL” is your internal server name and “mail.publicdomain.co.uk“ is your external server name)
Set-ClientAccessServer -Identity EXCHANGE-MAIL -AutodiscoverServiceIntern
alUri
https://mail.publicdomain.co.uk/autodiscover/autodiscover.xml
Set-WebServicesVirtualDire
ctory -Identity “EXCHANGE-MAIL\EWS (Default Web Site)” –InternalUrl
https://mail.publicdomain.co.uk/EWS/Exchange.asmx
Set-OABVirtualDirectory -Identity “EXCHANGE-MAIL\OAB (Default Web Site)” -InternalURL
https://mail.publicdomain.co.uk/OAB
Set-ActiveSyncVirtualDirec
tory -Identity “EXCHANGE-MAIL\Microsoft-S
erver-Acti
veSync (Default Web Site)” -InternalURL
https://mail.publicdomain.co.uk/Microsoft-Server-Activesync
If you plan to use Outlook Anywhere, execute the following command for Exchange 2010 and SBS 2011.
Set-WebServicesVirtualDire
ctory –Identity ‘EXCHANGE-MAIL\EWS (Default Web Site)’ –ExternalUrl
https://mail.publicdomain.co.uk/ews/exchange.asmx
http://www.topitproviders.net/index.php/2013/06/19/outlook-error-the-name-of-the-security-certificate-is-invalid-or-does-not-match-the-name-of-the-site/
if that is the reason you need to run these commands and configure the correct path and after that restart the server for the changes to take effect correctly.
Also you can check the event viewer for MSExchange Transport event : 12015 , 10214 , 12016 etc for the certificate errors issues .
take the thumbprint of the certificate you are experiencing errors
also the FQDN for which it is giving errors.
or go to Exchange powershell and enter the command
Get-ExchangeCertificate | fl - Enter
all certificates will be listed
There you can check with thumbprint which certificate is assigned to which FQDN.
Refer my answers in EE :https://www.experts-exchange.com/questions/28068630/Certifiricate-Expiring.html