Free SSL certificates (AutoSSL)
An SSL certificate encrypts the connection between your site's visitors and the server, so the browser shows the padlock and an https:// address. The AutoSSL feature in cPanel issues free DV certificates for your domains and renews them automatically before they expire, with no action needed from you in normal circumstances.
What does the free certificate cover?
AutoSSL tries to secure every name in your account that points to the server, including:
- The main domain and addon domains, along with
wwwfor each. - Subdomains.
- The service names cPanel creates, such as
mail.example.comandwebmail.example.com.
The free certificate is a DV (domain validation) certificate, which is enough for most sites and online stores. If you need a certificate that carries your organization's name (OV or EV) or a wildcard certificate, order one from the SSL certificates section of the Client Portal.
Check certificate status
In the Security section of cPanel, click SSL/TLS Status. You can also click the certificate status next to Primary Domain in the General Information section.
Check the status next to each name:
- Green padlock: the name is secured with a valid certificate.
- Yellow padlock or warning: the certificate will expire soon or doesn't cover the name.
- Red padlock: there is no valid certificate for this name.
Hover over the status to read the reason for any problem.
After fixing any cause of failure, click Run AutoSSL to request certificates right away instead of waiting for the automatic periodic check. Issuing usually takes a few minutes.
If you can't find the Run AutoSSL button, or no certificate is issued for your domain even though it points to the hosting, send a support ticket linked to your service.
Force visitors onto HTTPS
Once the certificate is valid, redirect all http:// visits to https:// automatically: open Domains in cPanel and turn on the Force HTTPS Redirect toggle next to the domain. For details, see Domains in cPanel.
Don't turn on the redirect before the certificate is valid, or visitors will see a security warning instead of your site.
Why wasn't the certificate issued?
The issuing authority checks that the domain actually points to your hosting. If you have just changed the name servers or DNS records, wait for DNS propagation to complete, then click Run AutoSSL.
If one of the names doesn't point to the server (for example, www points to another service), validation fails for that name alone. Fix its records, or exclude it by unchecking it and choosing Exclude Domains from AutoSSL if you don't need it.
The issuing authority needs to read a validation file inside your site's .well-known folder. Redirect or blocking rules in an .htaccess file can prevent this; exclude that folder from them, or disable the rules temporarily, then run AutoSSL again.
This is called mixed content: the page loads over HTTPS but requests images or files over http://. In WordPress, make sure the Site Address in the general settings starts with https://, and update old links inside your content.
How is this guide?
MySQL databases and phpMyAdmin
Create a database and a database user in cPanel and link them, then import and export data with phpMyAdmin.
Protect your site with Imunify360
Find and clean infected files in your account, and review the attacks on PHP scripts that Proactive Defense has stopped, from cPanel.