Host Africa

Friday, 4 April 2014

Exchange 2007 and 2010 error
(The name on the security certificate is invalid or does not match the name of the site)







  1. Do not use a self signed certificate
  2. Get one from a Certificate authority like Godaddy and make sure
  3. to add autodiscover.yourdomain.com, mail.yourdomaim.com (The dns name you use externally) or you can add a wild card like *.yourdomain.com
Now you can use Exchange management console to assign the certificate






Cut and paste the following and replace the EXCHANGESERVER for the name of your Exchange Server and the Domain for your domain.
Set-ClientAccessServer -Identity EXCHANGESERVER -AutoDiscoverServiceInternalUri https://mail.yourdomain.com/Autodiscover/Autodiscover.xml
Set-WebServicesVirtualDirectory -Identity “EXCHANGESERVER\EWS (Default Web Site)” -InternalURL https://mail.yourdomain.com/EWS/Exchange.asmx -BasicAuthentication:$true
Set-OABVirtualDirectory -Identity “EXCHANGESERVER\OAB (Default Web Site)” -InternalURL https://mail.yourdomain.com/OAB


Set-ActiveSyncVirtualDirectory -Identity “EXCHANGESERVER\Microsoft-Server-ActiveSync (Default Web Site)” -ExternalURL https://mail.yourdomain.com/Microsoft-Server-Activesync

Onl do this if you are using OutlookAnyware
Enable-OutlookAnywhere -Server EXCHANGESERVER -ExternalHostname “mail.yourdomain.com” -ClientAuthenticationMethod “Basic”-SSLOffloading:$False


No comments:

Post a Comment