PowerCLI

 View Only
  • 1.  Connect-VIServer: HTTPS Proxy with SSL Mutual Authentication

    Posted Jul 11, 2020 02:51 AM

    I am forced to live behind a HTTPS proxy that requires mutual ssl authentication.  I am not able to bypass the proxy.  When I use Set-PowerCLIConfiguration -ProxyPolicy NoProxy I am not even able to connect to the host.

    In PowerShell Invoke-WebRequest there is a parameter -CertificateThumbprint that I can use to specify the certificate to use for mutual authentication.

    Is there an equivalent to -CertificateThumbprint for PowerCLI?  Will PowerCLI work through a HTTPS proxy that requires mutual authentication?

    Thanks in advance.



  • 2.  RE: Connect-VIServer: HTTPS Proxy with SSL Mutual Authentication

    Posted Jul 11, 2020 06:56 AM

    I would look at the UseSystemProxy as the ProxyPolicy.

    But the method described in Re: How do I choose to use customized Proxy other than System Proxy doesn't seem to have an option to provide a thumbprint.

    Sorry, I don't know if there is a solution for your situation.