Portal Home > Knowledgebase > VMware Knowledge Base > Installing the intermediate certificate chain for vCenter Server 5.0

Installing the intermediate certificate chain for vCenter Server 5.0


This article provides steps to install the intermediate certificate chain for vCenter Server 5.0.


To install the intermediate certificate chain for vCenter Server 5.0:
  1. Run this command to create the CSR file:

    openssl req -new -nodes -out mycsr.csr -keyout rui.key -config /etc/ssl/openssl.cnf

  2. When prompted, enter the required information similar to:

    Country Name (2 letter code) [AU]:JP
    State or Province Name (full name) [Some-State]:tokyo
    Locality Name (eg, city) []:minato
    Organization Name (eg, company) [Internet Widgits Pty Ltd]:test company
    Organizational Unit Name (eg, section) []:test
    Common Name (eg, YOUR name) []:WIN-MYHOSTNAME
    Email Address []:

  3. Get the certificates server certificate ( rui.crt), root certificate, and intermediate certificate from a trusted third party CA.
  4. Copy/paste the root certificate and intermediate certificate to a text file as middle.crt. The root certificate and intermediate certificate are now in middle.crt.
  5. Run this command to create the PFX file:

    openssl pkcs12 -export -in rui.crt -inkey rui.key -name rui -certfile middle.crt -passout pass:testpassword -out rui.pfx

  6. Run this command and confirm if the certificates certify each other:

    openssl pkcs12 -in rui.pfx -out rui.txt

  7. Replace rui.crtrui.key, and rui.pfx with old certificates in C:\programdata\VMware\VMware VirtualCenter\SSL or C:\Program Files\VMware\Infrastructure\Inventory Service\ssl.
  8. Go to https://localhost/mob/?moid=vpxd-securitymanager&vmodl=1 on vCenter Server and load the certificates for the configuration by using the Managed Object Browser.
  9. If you are prompted with a certificate warning, click Continue.
  10. Type the administrator username and password when prompted.
  11. Click reloadSslCertificate.
  12. Click Invoke Method. If successful, the window shows the message Method Invocation Result: void.
  13. Close both windows.
  14. Open a command prompt on vCenter Server and change to the vCenter Server directory. By default, the vCenter Server directory is located at C:\Program Files\VMware\Infrastructure\VirtualCenter Server.
  15. Run this command:

    vpxd -p

  16. Type the current username and password for the vCenter Server database user to encrypt the password with the new certificate.
  17. Restart the VMware VirtualCenter Server service from the service control manager. This, in turn, restarts the VMware VirtualCenter Management Web Services, Inventory, and Profile driven storage services.
  18. After restarting the service, wait for 5 minutes. If the profile driven storage service stops during this time, restart it.
  19. Log in to vCenter Server and validate that the plug-ins, such as hardware status and vCenter Server status, are up and running properly.
  20. If you are using a OpenSSL Self Signed CA, to install the root certificate during the first login, click View Certificate when the certificate warning appears.
  21. Click Install Certificate and place the certificate in Trusted root certificate authorities > Local Computer store.
  22. Complete the wizard. You should see the Import was successful message displayed.

    Based on VMware KB 2030422

Also Read