SSL Certificate Name validation failed.
Posted on 2011-02-22
I've just transferred an SBS2003 box over to a new Server 2008R2\Exchange 2010 install and yes, I'm running an AD GC and Exchange on the same box but until I can spend more I have no resources to run any other way. I've also just applied a new SSL certificate. Things are 'mostly' working after much kludging around but most annoyingly I'm getting this error on testing external connections:
Certificate name validation failed.
Host name mydomain.com doesn't match any name found on the server certificate CN=owa.mydomain.com
Have been through the Exchange Management Console and everything external points to the CN so why is the host looking for mydomain.com?
Trying to set through the Exchange shell:
Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://owa.mydomain.com/autodiscover/autodiscover.xml
gets the result:
The operation couldn't be performed because object 'CAS_Server_Name' couldn't be found on 'server.mydomain.local'.
+ CategoryInfo : NotSpecified: (0:Int32) [Set-ClientAccessServer], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : C9111A49,Microsoft.Exchange.Management.SystemConfigurationTasks.SetClientAccessServer
So if the CAS name doesn't exist in AD how is it getting the host? If I need to how do I make the CAS_Server_Name entry manually?