Skip to content

PowerCLI Invalid Server Certificate

I just finished installing vCenter in my homelab and I wanted to start configuring the environment using PowerCLI.

When I tried to connect to vCenter I received the following error: 

As you can see in the error message, Set-PowerCLIConfiguration can be used to ignore the certificate warning. To get more info about the command run Get-Help Set-PowerCLIConfiguration and you will see in the description the link to VMware Code as well

So all you have to do is to run Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false 

 

Published inGeneral

Be First to Comment

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.