How to replace the vSphere 6/7/8.x Solution User certificates with VMCA issued certificate
search cancel

How to replace the vSphere 6/7/8.x Solution User certificates with VMCA issued certificate

book

Article ID: 313947

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 7.0 VMware vCenter Server 6.0 VMware vCenter Server 8.0

Issue/Introduction

 
Notes:
  • The vSphere 6/7/8.x Solution Users use SSL Certificates for internal communication and endpoint registration.
  • If you are using vCenter Server 6 with an embedded Platform Services Controller, there are four Solution User Certificates:
     
    • machine
    • vpxd
    • vpxd-extension
    • vsphere-webclient

 

  • On a vCenter server 7 and 8 with an embedded Platform Services Controller, there are 6 Solution User Certificates.

    • machine
    • vsphere-webclient
    • vpxd
    • vpxd-extension
    • hvc
    • wcp

Environment

VMware vCenter Server Appliance 6.x
VMware vCenter Server Appliance 7.x
VMware vCenter Server Appliance 8.x

Resolution

To replace the vSphere 6/7/8.x Solution User certificates with VMware Certificate Authority issued certificates:
 
NOTE: Ensure to take a no memory snapshot of the vCenter Server if it is standalone or powered off snapshots off all vCenter Servers if they are in Enhanced Linked Mode (ELM)
  1. Launch the vSphere 6/7/8.x Certificate Manager by executing the following command in SSH of the vCenter Server,

    For vCenter Server 6/7/8.x Appliance:

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

    For Windows vCenter Server 6.0:

    C:\Program Files\VMware\vCenter Server\vmcad\certificate-manager
     
  2. Select Option 6 (Replace Solution user certificates with VMCA Certificates)
     
  3. Type Yes (Y) to the confirmation request to proceed.
  4. Provide the [email protected] password when prompted.

    Notes:



Additional Information

  1. Use below command to confirm the hostname/ vCenter server PNID that should ideally be used to re-generate certificates.

vCenter server Appliance : 

/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost

Windows based vCenter server : 

"C:\Program Files\VMware\vCenter Server\vmafdd"\vmafd-cli get-pnid --server-name localhost

 

      2. Use below command to confirm the domain-name of the vCenter server. 

vCenter server Appliance : 

/usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name localhost

Windows based vCenter server : 

"C:\Program Files\VMware\vCenter Server\vmafdd"\vmafd-cli get-domain-name --server-name localhost