Connect-VIServer “The SSL Connection Could Not be established”

A super quick post about an issue you’re only really likely to see the first time you use PowerCLI on a system. If youre vCenter is using a certificate that’s not trusted by your device you will see the error:

“The SSL Connection could not be established, see inner exception”

Fortunately, it’s a quick fix with a couple of commands, see below:

Use the command below to tell PowerCLI to ignore invalid certificates for the current user

Set-PowerCLIConfiguration -InvalidCertificateAction:Ignore -Scope:User

Press “A” to update all and then try to log in again. You should find it connects successfully this time

 683 total views,  3 views today

Leave a Reply

Your email address will not be published. Required fields are marked *