Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SSL Certificate Name validation failed.

Posted on 2011-02-22
5
Medium Priority
?
2,484 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

610 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