This script used to work with previous vcenter version now with the upgrade to 6.7 I get the following error
perl vm.pl --server vcenterprdcw.internal.fbd.ie --username fbd\bt_$$doveloso --password Password2020! --type vcenter --datacenter City-West
Server version unavailable at 'https://vcenterprdcw.internal.fbd.ie:443/sdk/vimService.wsdl' at /usr/share/perl/5.30/VMware/VICommon.pm line 705
I've added the line $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; in my script and in /usr/share/perl/5.30/VMware/VICommon.pm without any improvement.
The SSL is indeed using a custom CA and isn't verified
This script used to work with previous vcenter version now with the upgrade to 6.7 I get the following error
perl vm.pl --server vcenterprdcw.internal.fbd.ie --username fbd\bt_$$doveloso --password Password2020! --type vcenter --datacenter City-West Server version unavailable at 'https://vcenterprdcw.internal.fbd.ie:443/sdk/vimService.wsdl' at /usr/share/perl/5.30/VMware/VICommon.pm line 705
Any suggestions ?