Backup: Linux system - ensure you shutdown and snapshot.
Outage: The guest portal will restart - do this when there is no event.
- Shutdown the CMX server and snapshot prior to making any changes.
- Log in cmx vis ssh with username cmxadmin, Server ip for rla 10.21.120.163, Server ip for aami 10.21.120.162
- Create a CSR by the following command
-
cmxctl config certs createcsr
-
View the CSR file by the following command
cat /opt/cmx/srv/certs/cmxservercsr.pem
-
Copy the csr and request a certificate from DigiCert
-
Bundle private key with the signed certificate into a .pem file. Copy and paste them as follows:
-----BEGIN RSA PRIVATE KEY----- < Private Key
MIIEpAIBAAKCAQEA2gXgEo7ouyBfWwCktcYo8ABwFw3d0yG5rvZRHvS2b3FwFRw5
...
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE----- < Signedcertificate
MIIFEzCCAvugAwIBAgIBFzANBgkqhkiG9w0BAQsFADCBlDELMAkGA1UEBhMCVVMxStep 2.Bundle the Intermediate and root CA certificates into a .crt file. Copy and paste themas follows:
-----ENDCERTIFICATE-----
-----BEGIN CERTIFICATE----- < Intermediate CA certificates
...
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE----- < The root CA certificate
MIIGqjCCBJKgAwIBAgIJAPj9p1QMdTgoMA0GCSqGSIb3DQEBCwUAMIGUMQswCQYD
...
-----END CERTIFICATE----- -
View private key by
cat /opt/cmx/srv/certs/cmxserverkey.pem
-
Upload the combine certificate by WinSCP
-
Clear the current certificate by running the following command
cmxctl config certs clear - import intermediate certificate
cmxctl config certs importcacert CARoot.crt -
Import server certificate
cmxctl config certs importservercert rla-cmx-01.pem -
Restart the CMX service
cmxctl stop -a
then
cmxctl start -a