- 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----- < Signed
certificate
MIIFEzCCAvugAwIBAgIBFzANBgkqhkiG9w0BAQsFADCBlDELMAkGA1UEBhMCVVMx
Step 2. Bundle the Intermediate and root CA certificates into a .crt file. Copy and paste them as follows:
-----END
CERTIFICATE-----
-----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
10. import intermediate certificate
cmxctl config certs importcacert CARoot.crt
11. Import server certificate
cmxctl config certs importservercert rla-cmx-01.pem