Solved

SSL Certificate Name validation failed.

Posted on 2011-02-22
5
2,403 Views
Last Modified: 2012-05-11
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.
Additional Details
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?

0
Comment
Question by:Jalbkay
  • 4
5 Comments
 
LVL 7

Expert Comment

by:viveksahu
ID: 34957864
0
 

Author Comment

by:Jalbkay
ID: 34957971
Hey Viveksahu,

Thanks for that but that i've actually already been there.  Regardless of the syntax, CASServer or CAS_Server_Name, Set-ClientAccessServer -Identity still gives the error:
The operation couldn't be performed because object 'CAS_Server_Name' couldn't be found.
0
 

Accepted Solution

by:
Jalbkay earned 0 total points
ID: 34957984
I've just had a 'Doh!' moment.  Should I be substituting 'CASServer' with my server name?
0
 

Author Comment

by:Jalbkay
ID: 34957990
Why yes, yes I should... to long at it and no-one to see the obvious for me.  Thanks anyway.
0
 

Author Closing Comment

by:Jalbkay
ID: 34990901
I found the error myself
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question