Use the certificates command of the cell management tool to replace SSL certificates for the HTTPS and Console Proxy endpoints.
The certificates command of the cell management tool automates the process of replacing existing certificates with new ones stored in PEM format. Use the certificates command to replace self-signed certificates with signed ones or replace expiring certificates with new ones. To create signed certificates, see Create Self-Signed SSL Certificates for VMware Cloud Director on Linux.
cell-management-tool certificates options
|--help (-h)||None||Provides a summary of available commands in this category.|
|--config (-c)||full pathname to the cell's global.properties file||Defaults to $VCLOUD_HOME/etc/global.properties.|
|--http (-j)||None||Replace the certificate file named certificates.pem and the private key file named certificates.key used by the http endpoint.|
|--consoleproxy (-p)||None||Replace the certificate file named proxycertificates.pem and the private key file named proxycertificates.key used by the console proxy endpoint.|
|--responses (-r)||full pathname to the cell's responses.properties file||Defaults to $VCLOUD_HOME/etc/responses.properties.|
|--cert||cert-pathname||Full pathname to a PEM file containing the signed certificate.|
|--key||key-pathname||Full pathname to a PEM file containing the private key for the certificate referenced by the --cert argument.|
|--key-password||key-password||Password for the private key referenced by the --key option.|
[root@cell1 /opt/vmware/vcloud–director/bin]# ./cell-management-tool certificates -j --cert /tmp/http.pem --key /tmp/http.key --key-password kpw SSL configuration has been updated. You will need to restart the cell for changes to take effect.