?
Solved

SSL Certificate Name validation failed.

Posted on 2011-02-22
5
Medium Priority
?
2,456 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
New style of hardware planning for Microsoft Exchange server.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

777 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