It`s simple when you know how ! Tech,Tutorials,Virtualization,VMware How to renew Vcenter Certificate from CLI Through SSH

How to renew Vcenter Certificate from CLI Through SSH

Vcenter have a certificate authority that usually create for 2 years, after that time you might get error connecting to the Vcenter both to production or to setting environments:

https://your vcenter FQDN

https:// your vcenter FQDN:5480

To renew the certificates on the Vcenter server you first need to enable SSH through the console :

Then you can connect to it from putty and start bash session then the Certificate Authority server with this command :

/usr/lib/vmware-vmca/bin/certificate-manager

Option 3 should create new updated certificate

Option 4 will create new CA certificate and you will have to enter some details about the organization and FQDN, in the end it will replace all the certificate on the server and restart the services as well .

To download the certificate chain from the vcenter in order to install them on windows or some other place , you can download them from :

https://your vcenter FQDN/certs/download.zip

Follow those procedures to renew all certificates . The vcenter should comes back to life allowing logons again .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post