VMware {code} Community
RManickam
Contributor
Contributor

Not able to get SSLthumbprint of a Vcenter

Hi All,

I am using VDDK 6.0 to process VMDK files from the Esxi host. In VDDK 6.0 SSL certificate and thumbprint checking is now mandatory So while connecting to the host through VDDK we have to pass the SSL thumbprint to VixDiskLib_ConnectEx()

To connect through the VDDK i have get the SSL certificate of a Esxi by using http request (https:\\<host-IP>\host\ssl_cert)

But still in Vcenter i am not able to get the SSL thumbprint or the SSL certificate through VIJava or any other HTTP request.

So please help me on this. Is there a way to get the SSL thumbprint of a Vcenter?

Any help on this is very much appreciated.

Thanks in advance.

Thanks,

Manick

0 Kudos
1 Reply
cyberpaul
Enthusiast
Enthusiast

Hi Manick,

on Linux you can use the openssl command to obtain the thumbprint:

openssl s_client -showcerts -connect HOSTNAME:443 < /dev/null 2> /dev/null | openssl x509 -fingerprint -noout

Cheers, Pavel

0 Kudos