You can replace the default self-signed certificate with a custom certificate signed by your certificate authority to meet the organizations security compliance guidelines.

Prerequisites

Procedure

  1. Open the Skyline Health Diagnostics appliance console using the VMware vSphere client or Secure Shell (SSH) client.
  2. Log in as root user.
  3. Change the working directory to the directory you created while generating the Certificate Signing Request, run the cd your_directory_name command. For example, cd newcert.
  4. Create a new file by name rui.crt using vi editor, run the command vi rui.crt.
  5. Copy the contents of CA signature that you received from your CA authority, open the CA signed certificate on your desktop using any text editor and copy the content.
  6. Paste the content to the rui.crt file using vi editor, press I to enable insert mode.

    You must see - INSERT - in the bottom of the screen pressing the insert mode.

  7. Right-click to paste the copied certificate details.
    1. If your CA provides any intermediate certificates, make sure you copy and paste them following the actual certificate.
  8. Save the file by pressing the following sequence Esc:wq.
  9. Copy the previously generated key and certificate files to the location where default certificate is located.
    1. cp rui.crt rui.key /opt/vmware-shd/vmware-shd/conf/ssl/
  10. Restart the web server, run the command systemctl restart nginx.
  11. Log in to the user interface using browser and verify that the new certificate is used.

Results

The web server runs with custom certificates.

What to do next

If the VMware Skyline Health Diagnostics user interface is not available, revert to self-signed certificate see Reverting to Self-Signed Certificate.