AEM as a Cloud Service will only accept OV(Organization Validation) or EV(Extended Validation) certificates. DV(Domain Validation) certificates will not be accepted. In addition, any certificate must be a X.509 TLS certificate from a trusted certification authority (CA) with a matching 2048-bit RSA private key.
A Certificate takes a few days to provision and it is recommended that the certificate be provisioned even months in advance. Refer to Getting an SSL Certificate for more details.
SSL files must be in PEM format in order to be installed on Cloud Manager. Common file extensions that are within the PEM format include
Follow the steps below to convert the format of your SSL files to PEM:
Convert PFX to PEM
openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes
Convert P7B to PEM
openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer
Convert DER to PEM
openssl x509 -inform der -in certificate.cer -out certificate.pem
A user must be in the Business Owner or Deployment Manager role in order to install an SSL certificate in Cloud Manager.
At any given time, Cloud Manager will allow a maximum of 10 SSL certificates that can be associated with one or more environments across your Program, even if a certificate is expired. Cloud Manager UI will, however, allow up 50 SSL certificates to be installed in the program with this constraint.
Follow the steps below to add a certificate:
Login to Cloud Manager.
Navigate to Environments screen from Overview page.
Click on SSL Certificates from the left navigation menu. A table with details of any existing SSL certificates will be displayed on this screen.
Click on Add SSL Certificate to open Add SSL Certificate dialog box.
Enter a name for your certificate in Certificate Name. This can be any name that helps you reference your certificate easily.
Paste the Certificate, Private key and Certificate chain into their respective fields. Use the paste icon to the right of the input box.
All three fields are not optional and must be included.
Any errors detected will be displayed. You must address all errors before your certificate can be saved. Refer to the Certificate Errors to learn more about addressing common errors.
Click Save to submit your certificate. You will see it displayed as a new row in the table.
The most common reason for a certificate deployment to fail is that the intermediate or chain certificates are not in the correct order. Specifically, intermediate certificate files must end with the root certificate or certificate most proximate to the root and be in a descending order from the
main/server certificate to the root.
You can determine the order of your intermediate files using the following command:
openssl crl2pkcs7 -nocrl -certfile $CERT_FILE | openssl pkcs7 -print_certs -noout
You can verify that the private key and
main/server certificate match using the following commands:
openssl x509 -noout -modulus -in certificate.pem | openssl md5
openssl rsa -noout -modulus -in ssl.key | openssl md5
The output of these two commands must be exactly the same. If you cannot locate a matching private key to your
main/server certificate, you will be required to re-key the certificate by generating a new CSR and/or requesting an updated certificate from your SSL vendor.
Cloud Manager expects the SSL certificate to be valid for at least 90 days into the future. You should check the validity of the certificate chain.