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:
a) Replace the 2 files in /opt/n2wsoftware/cert folder: cpm_server.crt and cpm_server.key
b) You will need to use "sudo" to reach this folder. Please keep ownership and permissions of the file ("cp" will do it).
c) At the end type:
sudo service apache2 restart

In order to perform the above operations, you need to connect to the instance with SSH (your assigned private key and username: "cpmuser").