VMware Cloud Community
justin_fisher
Contributor
Contributor

Connect-VIServer: HTTPS Proxy with SSL Mutual Authentication

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.

0 Kudos
1 Reply
LucD
Leadership
Leadership

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.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos