Link to home
Start Free TrialLog in
Avatar of PurityIT
PurityIT

asked on

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

Hi,

We recently moved a client from MS Exchange Email to Office365, all accounts and profiles have been created in Outlook and mail flow is fine.

When users open Outlook, they receive a security alert with the error "The name of the security certificate is invalid or does not match the name of the site". Users can proceed and are prompted once more, again proceeding, they then receive a prompt for user credentials to connect to the old remote Exchange server, this can also be skipped by without causing any issues sending/receiving mail.

How can the messages be prevented from appearing when opening Outlook ? So far we have tried disabling all MS Exchange services on their Windows SBS server and flushing DNS cache locally. I have also attached screenshots.

Many Thanks in Advance
Login---EE.jpg
Security-Alert---EE.jpg
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

Outlook 2007 and newer will still attempt to use autodiscover to configure outlook settings. Since exchange is still present on SBS, will still attempt to configure a local connection.

SBS is an integrated suite of products and doesn't do well if you are trying to ignore some components. Exchange is the most notable of these and if you aren't using exchange, you should really consider migrating off of SBS standard.

With that said. You can use the remove-autodiscovervirtualdirectory command to remove autodiscover and, as long  as the rest of your DNS infrastructure is intact, should resolve the issue. this is destructive, however, and does put SBS in a state where patching may cause future problems and where the wizards will be unaware of the current status of exchange. So this is, in my opinion, a stopgap measure and not a long term solution. As always, have a backup!
Found some good post which talks about the above error and solution in detail:

Outlook: "The name of the security certificate is invalid or does not match the name of the site"
http://hiltont.blogspot.in/2011/06/outlook-name-of-security-certificate-is.html

The Name on the security certificate is invalid or does not match the name of the site - PART 2
http://blogs.technet.com/b/danielkenyon-smith/archive/2010/05/13/the-name-on-the-certificate-is-invalid-or-does-not-match-the-name-of-the-site-part-2.aspx
Hi,

If your users are all O365 based, then you should not receive this security warning. Can you post a screenshot with warning message details.

Try to add the server name into IEx trusted site security zone.
ASKER CERTIFIED SOLUTION
Avatar of PurityIT
PurityIT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.