VxRail: Updating Dell VxRail with Custom Certificates (Customer Correctable)
Summary: Step-by-step guidance to replace with customer certificates for Dell VxRail environments. vSphere provides security by using certificates to encrypt communications, authenticate services, and sign tokens. ...
Instructions
vSphere uses certificates to:
- Encrypt communications between two nodes, such as vCenter Server and an ESXi host.
- Authenticate vSphere services.
- Perform internal actions such as signing tokens.
vSphere's internal certificate authority, VMware Certificate Authority (VMCA), provides all the certificates necessary for vCenter Server and ESXi. VMCA is installed on every Platform Services Controller, immediately securing the solution without any other modification. Keeping this default configuration provides the lowest operational overhead for certificate management. vSphere provides a mechanism to renew these certificates in the event they expire.
vSphere also provides a mechanism to replace certain certificates with your own certificates. However, it is advised to replace only the SSL certificate that provides encryption between nodes, to keep your certificate management overhead low.
Custom Certificate Integration
The vSphere environment is flexible to give the customers the opportunity to work with custom SSL certificates, as their company policies sometimes mandate that. The following steps walk you through changing certificates for various components in a VxRail environment.
- Replacing VxRail Manager's self-signed certificate
- The certificate can be replaced using the VxRail manager plugin: In vSphere select the cluster level >Configure > Security > Certificate. For guidance on creating the Certificate Signing Request and modifying the received cert files, see KB article VxRail: How to apply for a new certificate for VxRail Manager.
- Replacing vCenter Server certificates using a Custom Certificate Authority (CA) Signed Certificate
- Follow the guide available at VMware: Generate Certificate Signing Requests with vSphere Certificate Manager (Custom Certificates)
.
- For a better overview on the process of certificate replacement using Certificate Manager, see VMware KB Replacing a vSphere 6.x /7.x Machine SSL certificate with a Custom Certificate Authority Signed Certificate (2112277)
.
- To illustrate how to generate a custom signed certificate using PSC, see KB article Dell VxRail: How to Generate CSR (cert signing request) and private keys on PSC.
- Follow the guide available at VMware: Generate Certificate Signing Requests with vSphere Certificate Manager (Custom Certificates)
- Manually reestablishing trust between VxRail Manager and vCenter Server after custom certificate integration
- Upon replacement of vCenter Server certificates, the new ones should be manually updated on VxRail Manager VM to allow reestablishment of trust between both entities. To achieve that, follow KB article VxRail: How to manually import vCenter SSL certificate on VxRail Manager.
- Replacing ESXi host SSL certificates
- Requirements for ESXi Certificate Signing Requests are available at VMware at https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.security.doc/GUID-0AE0B563-59D6-45A5-BF46-6FE68607687B.html
.
- To switch to using custom certificates on the ESXi hosts in a vSAN environment, follow VMware KB Adding Custom Certificate on ESXi hosts through CLI (56441)
. It is always preferred to take a backup of the old ESXi certificates outside of the host (using clients like WinSCP for example) to be able to revert in case any issues occurred within the replacement process.
- Requirements for ESXi Certificate Signing Requests are available at VMware at https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.security.doc/GUID-0AE0B563-59D6-45A5-BF46-6FE68607687B.html
- Replacing vRealize Log Insight certificates
If you face any issues during certificate replacement, reach out to Dell support for assistance.