How to change the certificate and key used by CPM

How to change the SSL certificate and key used by CPM

Important: This procedure should be performed when there are no Backups/DR/Cleanup/S3 Copy running.

If you need to install a CA SSL certificate, here are the instructions:
  1.  Replace the 2 files in /opt/n2wsoftware/cert folder: cpm_server.crt and cpm_server.key
  2.  You will need to use "sudo" to reach this folder. Please keep ownership and permissions of the file ("cp" will do it).
  3.  At the end type: sudo service apache2 restart
Additional useful info

In order to perform the above operations, you need to connect to the instance with SSH (your assigned private key and username: "cpmuser").
If you don't know how, this KB Article which show how to connect to CPM over SSH: How to connect to an instance in AWS using SSH

If you are unfamilar with Linux command, this Ubuntu article explain about various commands: The Linux command line for beginners ,then command need here are mostly: cd, cp, ls, sudo, chmod

Certificate: here are some online tools to verify the validity of your certificate: