At the moment, I'm trying to use vmware vSphere CLI tools under Debain SID and getting Server version unavailable at 'https://SERVER:443/sdk/vimService.wsdl' at /usr/local/share/perl/5.12.3/VMware/VICommon.pm line 545, <STDIN> line 1. This error is du to the LWP::UserAgent class which tries to validate the server certificate and fails if the certifcate CA is unknown(or self signed).
In order to bypass the server certificate validation, set PERL_LWP_SSL_VERIFY_HOSTNAME environnement variable to 0 by export PERL_LWP_SSL_VERIFY_HOSTNAME=0.
Tags: debian, vSphere, vcli, vmware | Posted on 12/06/2011 at 10:42 by Glennie Vignarajah | Permalink | Comments: 1