vCenter

 View Only

Certificate issues when running Perl VIAPI scripts

  • 1.  Certificate issues when running Perl VIAPI scripts

    Posted Jun 16, 2009 06:43 AM

    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.