The name on the security certificate is invalid – Exchange 2013

Domain joined machines and outlook pop up shows up with this error

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

image

Coz the internal server name is not listed in my cert as recommended

image

Now Outlook get this pop up while retrieving the Autodiscover information

you got to change this entry to avoid this . so that it will start looking at mail.testcareexchange.biz

Run

Get-ClientAccessServer | fl Identity,*uri*

image

Now run to set to the entry which is on the cert.

Set-ClientAccessServer -Identity EXCH2013 -AutoDiscoverServiceInternalUri https://mail.testcareexchange.biz/Autodiscover/Autodiscover.xml

image

 

Do an IISreset – if changes doesnt take effect.