Ad Widget

Collapse

ESXi 6 curl Certificate VMWare not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarcMuc
    Junior Member
    • Apr 2017
    • 4

    #1

    ESXi 6 curl Certificate VMWare not working

    Hi folks!

    I'm totally new to zabbix and so far I'm really happy with the system.

    I'm stuck now with some SSL-Certificate problem on my ESXi hosts.

    All of my hosts are using their default SSL certificate, provided by VMware.

    The simple check items in the VMware Templates are returning the info: "Couldn't resolve host name".

    DNS and network settings are fine. Resolving hosts works perfectly on the shell.

    I figured out, that curl has a problem while trying to get data via the SDK-Url from the ESXi hosts.

    Executing

    Code:
    curl https://DELL1/sdk
    returns me

    Code:
    curl: (51) SSL: certificate subject name (localhost.localdomain) does not match target host name 'DELL1'
    Executing

    Code:
    curl -k 'https://DELL1/sdk/'
    <- Option -k ignores SSL-Errors

    returns me no error.

    Is there any chance to tell zabbix to use curl with the "-k" option?

    Or are you all using ESXi with new own certificates?

    Thanks for your help!

    System: Zabbix 3.2, Ubuntu 16.0.4.LTS, ESXi 6.0.0
Working...