Solved

SSL Certificate Name validation failed.

Posted on 2011-02-22
5
2,386 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

Problems using Powershell and Active Directory?

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

919 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now