Powercli ssl error

When I’m trying to connect to the VC from powercli I get this error.

I tried but there is no ignore SSL option in the parameters.

I searched and I found below workaround for this

We need to set powercliconfig for this

Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false

VMWare KB-

https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/set-powercliconfiguration/#Default

Leave a comment

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