Enabling Certificate Verification
The vSphere SDK for Perl and vCLI use Crypt::SSLEay to support certificate verification. Crypt::SSLEay allows verification of certificates signed by a Certificate Authority (CA) if you set the following two variables:
HTTPS_CA_FILE – The CA file.
HTTPS_CA_DIR – The CA directory.
See the Crypt::SSLEay documentation for details on setup.
Caution If the two environment variables HTTPS_CA_FILE and HTTPS_CA_DIR are set incorrectly or if a problem with the certificate exists, vCLI commands do not complete, and do not print error or warning messages. Use HTTPS_DEBUG for troubleshooting before running vCLI commands.