To enable HTTPS, a certificate must cover the domain name(s) and be installed on the server that handles the connections. This guide covers AutoSSL (issuance and automatic renewal), manual installation of a third‑party certificate, and how to renew or re‑issue a certificate from a user cPanel account. Some options are reserved for the server administrator (WHM) and may vary by cPanel version and theme.
Before you start (prerequisites)
- Access to your cPanel account (user credentials).
- The domain must point to your hosting (A or CNAME record) or you must be able to modify the DNS zone to complete domain validation (DCV).
- If you order a certificate from a Certificate Authority (CA): be able to provide a CSR (Certificate Signing Request) generated from cPanel and keep the associated private key (KEY).
- If you use a CDN/proxy (e.g. Cloudflare in proxy mode), temporarily disable the proxy or add a direct DNS record pointing to the server so HTTP/DNS DCV can succeed.
- Back up the private key when generating the CSR: if you lose it, you will need to generate a new CSR and request a re‑issue from the CA.
Quick reminders (terms used)
- CSR : Certificate Signing Request — contains the public key and the certificate information to send to the CA.
- KEY : private key corresponding to the CSR. Keep it secure and backed up.
- CRT : certificate issued by the CA (or by AutoSSL).
- CA bundle / chain : intermediate certificates required to complete the trust chain.
- DCV : Domain Control Validation — method (HTTP, DNS, email) used by the CA to verify that you control the domain.
1) AutoSSL — issuance and automatic renewal
AutoSSL can issue and automatically renew certificates for the domains on an account. If AutoSSL is enabled on the server, cPanel attempts to renew certificates before they expire.
Force an AutoSSL renewal (user procedure)
- Log in to cPanel.
- Go to Security → SSL/TLS Status (SSL/TLS Status).
- Select one or more domains, then click Run AutoSSL (or the equivalent action) to initiate an immediate issuance/renewal attempt.
Practical notes:
- AutoSSL will not issue certificates for a suspended account.
- Automatic replacement of a third‑party certificate by AutoSSL depends on a WHM setting (administrator). If AutoSSL does not replace a purchased certificate, remove the third‑party certificate via Manage SSL or ask support to do so, then run AutoSSL again.
2) Installing a purchased certificate or one received from a CA
If you purchased a certificate from a certificate authority (or received a CRT/chain from a provider), follow these steps: generate the CSR (if required), validate the DCV, then install the certificate in cPanel.
Detailed steps
-
Generate the CSR (if your CA requires a CSR) :
- cPanel → Security → SSL/TLS → Generate, view, or delete SSL certificate signing requests (CSR).
- Choose the domain, key type, and enter the information (organization, country, etc.). Generating the CSR saves the private key (KEY) on your account: keep it.
Generating a CSR in cPanel. The red markers highlight the important fields and buttons. -
Submit the CSR to the CA and perform Domain Control Validation (DCV) :
- Paste the CSR into the CA's control panel when placing the order or during re‑issue.
- Choose the validation method offered by the CA (HTTP file, DNS TXT, e‑mail). For HTTP‑01, verify that the domain points to your hosting and that the file
/.well-known/acme-challenge/is accessible from the public internet. For DNS‑01, add the requested TXT record in your DNS zone editor. - CAA records can prevent some CAs from issuing certificates: check the DNS zone if the DCV fails.
-
Retrieve and install the certificate :
- After issuance, download the file(s) provided by the CA: the CRT (certificate) and the CA bundle (intermediates), if supplied.
- Install the certificate in cPanel: Security → SSL/TLS → Install and Manage SSL for your site (Manage SSL Sites)Select the domain, paste the CRT, the corresponding private key (KEY) and the CA bundle, then install.
Choose the domain and paste the certificate block (CRT).
Paste the private key (KEY) and the certificate (CRT). If the CSR was generated on this cPanel account, the private key may be pre‑filled.
Add the intermediate chain (CA bundle) then start the installation.
3) Renew or re‑generate (re‑issue) a certificate
Difference: renew = obtain a new certificate for the same identity. re‑issue / re‑generation = obtain a new certificate because the private key has changed, because SANs (Subject Alternative Names) were added/removed, or because the private key was lost.
General re‑issue procedure (lost key, adding SANs)
- Generate a new CSR in cPanel (this creates a new private key — KEY).
- In the CA panel, choose the re‑issue option or replace the key by pasting the new CSR. Follow the DCV procedure required by the CA.
- After issuance, download the new CRT (and the CA bundle) and install them in cPanel (see previous section).
- If you replace a certificate on a production site, schedule the operation and test before enforcing HTTPS redirects at the application level.
Special cases
- AutoSSL: AutoSSL automatically renews its own certificates. If you want AutoSSL to replace a third‑party certificate, the server must permit that action in WHM; otherwise uninstall the third‑party certificate and then Run AutoSSL.
- Certificates purchased from the cPanel Store: Some hosts automate re‑issuance via server scripts (process_ssl_reissue). If your certificate comes from the Store and you encounter a problem, contact support to check the server‑side automation.
- Adding a wildcard (*): Wildcard certificates usually require DNS validation (DNS‑01). If you switch from a single certificate to a wildcard, wait for DNS propagation of the required TXT record.
4) Post‑installation checks
- Open
https://votredomaine/in a browser and click the padlock: verify the covered names, the issuer and the validity period. - Check that all required variants are covered (e.g.
example.comandwww.example.com), and that desired subdomains appear in the SANs if needed. - Check the chain: if there is a missing intermediate‑certificate warning, reinstall the CA bundle provided by the CA.
- Test from a shell (advanced):
openssl s_client -connect exemple.com:443 -servername exemple.com -showcerts
This command displays the certificate(s) returned by the server and the chain received.
5) Troubleshooting: common errors and fixes
-
Error 'private key does not match certificate'
- Cause: the installed private key (KEY) does not match the CRT.
- Quick fix: install the certificate that matches the correct private key. If you have lost the private key, generate a new CSR and request re‑issuance of the certificate from the CA.
- Technical check (from the shell):
openssl rsa -noout -modulus -in private.key | openssl md5 openssl x509 -noout -modulus -in cert.crt | openssl md5
The two MD5 hashes must be identical if the key and the certificate match.
-
Incomplete chain / intermediate certificate missing
- Symptom: untrusted certificate warning in some browsers but not all.
- Solution: paste the CA bundle (intermediates) provided by the CA into the "CA bundle" field of the cPanel installer and reinstall.
-
DCV (Domain Control Validation) fails
- Verify that the domain points to the server for HTTP‑01 DCV (correct A/CNAME).
- For DNS‑01, verify that the requested TXT record exists and has propagated (use
dig TXT _acme-challenge.example.comdig TXT _acme-challenge.example.com from an external machine). - If you use a proxy/CDN, temporarily disable the proxy or create a DNS record that points directly to the server for the duration of the DCV.
-
Issuance limits / rate limits
- Public, free certificate authorities (e.g., Let's Encrypt) enforce issuance limits. If you reach a limit, wait for the reset period or consolidate the names onto a multi‑domain (SAN) certificate if appropriate.
- Consult your CA's documentation and cPanel's documentation for how AutoSSL behaves with respect to limits.
-
Certificate expired
- If AutoSSL was enabled, rerun Run AutoSSL ; otherwise, install the new certificate issued by the CA.
- After installation, check CDN caches and redirect rules to avoid loops.
-
Mixed content warnings
- The site loads resources over HTTP: update internal URLs to HTTPS or use application‑level/.htaccess rewrite rules after verifying that the certificate is working.
6) Useful commands (advanced)
- Show the certificates presented by the server and the certificate chain:
openssl s_client -connect votre-domaine:443 -servername votre-domaine -showcerts
- Compare the modulus of the private key and the certificate (verify they match):
openssl rsa -noout -modulus -in private.key | openssl md5 openssl x509 -noout -modulus -in cert.crt | openssl md5
- Show the expiration date of a local certificate:
openssl x509 -noout -dates -in cert.crt
- View the SANs (Subject Alternative Names) in a certificate:
openssl x509 -noout -text -in cert.crt | grep -A2 "Subject Alternative Name"
7) Limitations and best practices
- TLS protects data in transit (confidentiality and integrity) but does not replace backups or application‑layer security.
- Always keep a secure copy of your private key when generating the CSR.
- Prefer AutoSSL for routine certificates: it reduces the risk of missed renewals.
- Schedule certificate changes (re‑issue, adding SANs) outside peak‑traffic periods if you manage a production site.
Useful internal links
- How do I enable my free SSL certificate in cPanel?
- How do I generate a CSR?
- How do I force SSL/HTTPS with .htaccess?
- Install a RapidSSL certificate (example of a paid certificate)
Reference documentation:
- SSL/TLS — cPanel & WHM Documentation
- Guide to SSL — cPanel & WHM Documentation
- Install an SSL Certificate on a Domain — cPanel & WHM Documentation
Documents consulted on October 17, 2026. Screens and labels in cPanel may vary by version and theme (Meridian / Jupiter); adapt the paths and controls to your interface.
Reference documentation
- SSL/TLS | cPanel & WHM Documentation
- Install an SSL Certificate on a Domain | cPanel & WHM Documentation
Documentation consulted on October 17, 2026. Tools may vary depending on your hosting.