vCenter 8.x
Depending on the configuration of the proxy, it might be using the same port to accept both HTTP and HTTPS traffic.
If this is the case, use the exact same URL for HTTPS_PROXY as is set for HTTP_PROXY, including the protocol.
Both HTTP and HTTPS should be set as http://... as in the following example:
# Example: HTTP_PROXY="http://example.com:3128/"
HTTP_PROXY="http://proxy.example.com:8080"
# Example: HTTPS_PROXY="https://example.com:3128/"
HTTPS_PROXY="http://proxy.example.com:8080"