MsExchange Blog Spot Telnet25

July 7, 2010

The name on the security certificate in invalid or does not match the name of the site

Filed under: General — telnet25 @ 3:05 pm


You might be familiar with fallowing error on Exchange 2007 and this time we are seeing same error after migration on Exchange 2010 with installing new certificate.


The clients are receiving similar errors once they open their outlook. I am going to focus on how to get this fix quickly.




Open EMS and copy and paste fallowing PS commands after making proper changes explained as below…….

Get-AutodiscoverVirtualDirectory | FL


Set-ClientAccessServer -Identity EX2-AutodiscoverServiceInternalUri

  • Replace the part   EX2 ( your own mail server name)
  • Replace the part “” with your own  SMTP domain published record same as on the public certificate.

Set-WebServicesVirtualDirectory -Identity "EX2`\EWS (Default Web Site)" -InternalUrl

Set-OABVirtualDirectory -Identity "EX2\oab (Default Web Site)" -InternalUrl

  • Replace the part with your own ……..
  • And finally to test it use fallowing

Test-OutlookWebServices -TargetAddress:


Oz Casey, Dedeal

MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
Http:// (Blog
Http:// (Blog)
Http:// (Blog)


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: