About this task
Use this procedure to change the TLS certificate presented to the
user when logging in to the management GUI.
Before you begin
Ensure that you have an X.509 certificate signed by a trusted CA.
This certificate must have the primary management IP of the EMS set
as the Common Name or Subject Alt name.
You must also have the corresponding unencrypted, 2048–bit RSA
private key.
Procedure
- Copy the PEM-encoded certificate and associated private
key to the EMS server.
- To encrypt the RSA private key, type enc_key path_to_key_file private_key_passphrase.
Here, path_to_key_file is the path where the
private key file is stored, and private_key_passphrase is the passphrase for the key. If the private key does not have
a passphrase, use "" as the private_key_passphrase.
- Go to the directory to which the certificate and private
key are copied.
- As a root user, type install-nginx-certificate path-to-certificate-file path-to-key-file.
Here, path-to-certificate-file is the path where
the certificate file is uploaded, and path-to-key-file is the path where the RSA private key is uploaded.
If any errors occur, resolve the issues by following the instructions
in the error message.
If the EMS becomes inaccessible, use the ipcs-options command to regenerate a new self-signed certificate for EMS.