VMware Cloud Community
Axisss
Contributor
Contributor

Fail to connecting ESXI Server by using OpenSSL

How to connect to ESXI Server by using OpenSSL ?

ERROR information:

root ~#openssl s_client -connect esxi_server:443

CONNECTED(00000003)

depth=0 /C=US/ST=California/L=Palo Alto/O=VMware, Inc/OU=VMware ESX Server Defau                 lt Certificate/emailAddress=ssl-certificates@vmware.com/CN=localhost.localdomain                 /unstructuredName=1361458780,564d7761726520496e632e

verify error:num=20:unable to get local issuer certificate

verify return:1

depth=0 /C=US/ST=California/L=Palo Alto/O=VMware, Inc/OU=VMware ESX Server Defau                 lt Certificate/emailAddress=ssl-certificates@vmware.com/CN=localhost.localdomain                 /unstructuredName=1361458780,564d7761726520496e632e

verify error:num=27:certificate not trusted

verify return:1

depth=0 /C=US/ST=California/L=Palo Alto/O=VMware, Inc/OU=VMware ESX Server Defau                 lt Certificate/emailAddress=ssl-certificates@vmware.com/CN=localhost.localdomain                 /unstructuredName=1361458780,564d7761726520496e632e

verify error:num=21:unable to verify the first certificate

verify return:1

THANKS FOR YOUR ATTENTION!!!

Tags (2)
0 Kudos
1 Reply
Alistar
Expert
Expert

Hi,

since the default certificates generated for ESXi hosts may be marked with lower safety as they are self-signed, you would need to either change (ie lower) the accepted certificate security in the application's settings to or get your certificate from a trusted authority like VeriSign.

Stop by my blog if you'd like 🙂 I dabble in vSphere troubleshooting, PowerCLI scripting and NetApp storage - and I share my journeys at http://vmxp.wordpress.com/
0 Kudos