Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

Certificate validation with Connect-VIServer (PowerCLI 10.0 & 6.5.4.7155375)

$
0
0

I'm trying to resolve a certificate validation issue I'm seeing in PowerCLI.

 

(I know I can just set -InvalidCertificateAction to Ignore or save the thumbprint as an exception in PSTCS as a workaround.)

 

When I have InvalidCertificateAction set to Prompt, I get:

 

> Connect-VIServer myviserver.blah.net -Verbose   
WARNING: There were one or more problems with the server certificate for the server myviserver.blah.net:443:  

* The certificate's CN name does not match the passed value.  
Certificate: [Subject]    CN=myviserver.blah.net 
[Issuer]    CN=myCA DN

 

I'm not sure what it doesn't like about the CN... it matches and browsers don't complain. I tried messing with [System.Net.ServicePointManager]::SecurityProtocol based on some other threads but that didn't seem to help.

 

Does anyone have ideas on how to investigate further?

 

Thanks!

 


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>