Exception when uploading OVA to vCenter when using Proxy

With the recent version vCenter 7.0.0b there seems still being an issue when having HTTP / HTTPS proxy configured and trying to import an OVA / OVF.
This is the error message you will see most likely:

Failed to deploy OVF package. ThrowableProxy.cause A general system error occurred: Transfer failed: Server not trusted: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, note that HTTP/s proxy is configured for the transfer.

A quick workaround is to disable Proxy via VAMI and only enable it when you need id to download updates via Lifecycle Manager or for vCenter updates.
Most of the time is because NO_PROXY is not set properly

NO_PROXY="localhost,, .*.vmware.com,"

Update, there is a KB out at VMware that you need to specify NO_PROXY according to your environment to get this working again.



Anonymous 15. September 2020 Reply

Thank you! My goggling about this eventually led to this post and this is exactly what I am facing too.

Johannes 15. September 2020 Reply

Glad i was able to help!

Anonymous 27. October 2020 Reply

Thanks a lot.

Unknown 4. December 2020 Reply

Thank you! This resolved my issue too.

Unknown 2. March 2021 Reply

Any update from the VMware case?

Johannes 8. March 2021 Reply

Sadly it was closed by: "You are not using a supported proxy setup" as i use a proxy that is not pingable and thus have to configure it via /etc/sysconfig/proxy

Johannes 27. May 2021 Reply

There is this KB out, and it´s all about setting the NO_PROXY right.

Leave a Reply