Replacing the ESXi Host Default Certificate with a CA-Signed Certificate

简介:

When you install ESXi, a default certificate for the host is generated. This is a ‘self-signed’ certificate and as such will not be trusted by default in it’s communications with other systems. Because of this, in many environments, it is preferred that the default certificate is replaced with a trusted certificate from a CA (certificate authority). This could be a well-known external certificate authority or a trusted internal CA.

The process for replacing the default certificate on an ESXi host, documented here by VMware, is as follows:

  • Log into the ESXi host as a user with root privileges

  • Rename the existing certificates located in /etc/vmware/ssl

mv rui.crt orig.rui.crt
mv rui.key orig.rui.key
  • Copy the new certificate and key to /etc/vmware/ssl

  • Rename the two new files to rui.crt and rui.key using the ‘mv’ command

  • Restart the host, or the hosts management agents

There are a couple of things to bear in mind with this:

  • ESXi supports only X.509 certificates to encrypt session information sent over SSL

  • If the Verify Certificates option is set then the host is likely to drop out of vCenter if the new cert is not verifiable by vCenter. In this case the host will have to be reconnected to vCenter.

Useful Links and Resources

http://www.vmware.com/files/pdf/techpaper/vsp_51_vcserver_esxi_certificates.pdf

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2015499

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1829992如需转载请自行联系原作者


520feng2007

相关文章
|
开发工具 git
TLS certificate verification has been disabled
TLS certificate verification has been disabled
1366 0
TLS certificate verification has been disabled
|
Web App开发 对象存储
解决:x509: cannot validate certificate for IP 报错
问题 今天调用上传接口上传文件时,遇到了一个 x509 类型报错,具体报错信息如下: 2021-10-15 17:46:13.145 ERROR oss/upload.go:210 upload process Failed {"error": "Post "https://192.168.215.139:9443/store/file/upload\": x509: cannot validate certificate for 192.168.215.139 because it doesn't contain any IP SANs"} panic: send on closed cha
1228 0
|
2月前
|
Shell 网络安全 开发工具
【已解决】SSL certificate problem: self signed certificate
SSL certificate problem: self signed certificate
42 2
|
网络安全 PHP
cURL error 60: SSL certificate problem: self signed certificate in certificate
一、问题 cURL error 60: SSL certificate problem: self signed certificate in certificate chain - 服务器http302 出现这个一般是自签名证书的问题
2881 0
Get “https://npm.taobao.org/mirrors/node/latest/SHASUMS256.txt“: tls: failed to verify certificate:
Get “https://npm.taobao.org/mirrors/node/latest/SHASUMS256.txt“: tls: failed to verify certificate:
|
3月前
|
安全 网络安全
Peer's certificate issuer has been marked as not trusted by the user. 是什么原因导致的
"Peer's certificate issuer has been marked as not trusted by the user" 是一个SSL/TLS错误消息,通常出现在与安全连接的服务器进行握手时。这个错误消息表示用户将证书颁发机构(Certificate Authority,CA)标记为不受信任。 这种情况可能有以下几个原因: 1. 证书过期:证书有一个有效期限,如果证书已经过期,浏览器会将其标记为不受信任。 2. 证书颁发机构不受信任:浏览器内置了一些受信任的证书颁发机构列表,如果服务器使用的证书颁发机构不在该列表中,浏览器会将其标记为不受信任。 3. 自签名证书:如
994 0
|
安全 网络安全 PHP
解决SSL routines:ssl3_get_server_certificate:certificate verify failed
解决SSL routines:ssl3_get_server_certificate:certificate verify failed
505 0
|
3月前
|
Kubernetes 容器
k8s-unable to connect to the server:x509:certificates signed by unknown authority......
k8s-unable to connect to the server:x509:certificates signed by unknown authority......
151 0
|
10月前
|
存储 安全 数据安全/隐私保护
什么是 Client Certificate Authentication?
什么是 Client Certificate Authentication?
|
网络安全
ssl.SSLError [SSL CERTIFICATE_VERIFY_FAILED] certificate verify failed
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
207 0