1、 开启ESXI的SSH
2、winscp登录ESXI,进入 /etc/vmware/ssl 目录,删除rui.crt和rui.key两个文件,并讲自己的ssl文件改名后上传到该目录,完成后退出winscp
![](https://www.qzkyl.cn/wp-content/uploads/2019/11/20191117163923877997.png)
![](https://www.qzkyl.cn/wp-content/uploads/2019/11/2019111716400770718.png)
![](https://www.qzkyl.cn/wp-content/uploads/2019/11/20191106215614359267.png)
3、上传证书后可以不重启ESXI,在SSH下输入这两行命令就可以让证书生效
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
1、 开启ESXI的SSH
2、winscp登录ESXI,进入 /etc/vmware/ssl 目录,删除rui.crt和rui.key两个文件,并讲自己的ssl文件改名后上传到该目录,完成后退出winscp
/etc/init.d/hostd restart
/etc/init.d/vpxa restart