Installing an SSL certificate
After the issuer issues your certificate, your site doesn't start using it automatically: you need to install it on the server that hosts the site. To do that, you need three parts:
- The certificate (Certificate — CRT): text that starts with
-----BEGIN CERTIFICATE-----, issued for your domain. - The private key (Private key — KEY): starts with
-----BEGIN PRIVATE KEY-----(orRSA PRIVATE KEY). This is the key that was created along with the certificate signing request; it isn't issued by the issuer. - The intermediate certificate chain (CA Bundle): one or more certificates that link your certificate to a trusted issuer. Without it, the certificate works in some browsers and fails in others.
- The certificate and intermediate chain: from the certificate details, using the View button on the SSL certificates page, or from the issuance email sent to you.
- The private key: from wherever you created the CSR: from the order wizard if you chose Generate a new CSR, or from your server if you created it there.
Sign in to cPanel and open SSL/TLS from the Security section.
Click Manage SSL sites under Install and Manage SSL for your site.
Choose the domain from the Domain list.
Paste the certificate content into the Certificate: CRT field. If the certificate is linked to a key already saved on the account, cPanel fills in the other fields automatically when you click Autofill by Certificate.
If the two fields are still empty, paste the private key into Private Key: KEY and the intermediate chain into Certificate Authority Bundle: CABUNDLE.
Click Install Certificate. The installation takes effect immediately.
After installing, turn on Force HTTPS Redirect for the domain from the Domains interface in cPanel so all visitors reach the secure version.
Verifying the installation
- Open
https://example.comin your browser and click the padlock to view the certificate details and expiration date. - To make sure the intermediate chain is installed, run this from any machine:
openssl s_client -connect example.com:443 -servername example.comThe output should end with the line Verify return code: 0 (ok).
Common errors
The certificate was issued for a different key from the one you're installing. Use the key that was created with that same CSR. If you've lost it, reissue the certificate with a new CSR and key as described in Renewing and reissuing an SSL certificate.
The intermediate chain (CA Bundle) isn't installed. Add it in the CABUNDLE field in cPanel, or combine it with the certificate on Nginx.
The name the visitor opens isn't covered by the certificate, such as opening www.example.com with a certificate issued for example.com alone. Reissue the certificate with the correct name, or redirect the other name to the covered one.
The certificate is fine, but the page loads images or files over http://. Change their links to https://, and in WordPress change the site address in the settings to https.
How is this guide?
Ordering a new SSL certificate
Order SSL certificates to secure your domains with HTTPS, the ordering stages from creating a CSR to domain control validation, and managing issued certificates.
Renewing and reissuing an SSL certificate
When you need to renew or reissue an SSL certificate, the steps after each, and how to avoid a certificate expiring without you noticing.