VMware Cloud Community
zeevik
Contributor
Contributor

Certificate issues when running Perl VIAPI scripts

I'm trying to run the latest Perl VIAPI (4.0.0-161974.i386), and get an laert that the certificate does not match.

The script is running from a Ubuntu server's bash shell.

The error message is:

Error: Server version unavailable at 'https://10.55.1.32/sdk/vimService.wsdl'

but the real problem is the ceertificate

root@QA-NAS-01:# wget https://10.55.1.32/sdk/vimService.wsd

09:43:59 https://10.55.1.32/sdk/vimService.wsd

=> `vimService.wsd'

Connecting to 10.55.1.32:443... connected.

ERROR: Certificate verification error for 10.55.1.32: self signed certificate

ERROR: certificate common name `VMware' doesn't match requested host name `10.55.1.32'.

To connect to 10.55.1.32 insecurely, use `--no-check-certificate'.

Unable to establish SSL connection.

How can I solve this ?

Thanks,

Zeevik.

Reply
0 Kudos
0 Replies