In order to generate an Free SSL on Cpanel we need to make sure that our records in the DNS are pointing to our server. At this point we will focus on 4 records:, Make sure they are already in Cloudflare. If you need insructions on hot to Install them go to this article: How to setup mail server's records in cloudflare and cpanel (DKIM and SPF) ?
1) Add A records pointing to your sever's IP for:
- cpcalendars
- cpcontacts
- webmail
- cpanel (if you want access to this cPanel server and don't have another one for your website)
Make sure the Proxy Status (Cloud) is OFF (DNS only)
2) Once these records are properly setup, back in cPanel we will open SSL/TLS Status, here we will generate certificates using Auto SSL, but before remove any subdomains that are not going to be used (only leave the subdomains for the records mentioned above).
For example if your domain is hosted somewhere else remove the main domain and the www subdoamin. you might find some weird addresses like www.yourdomain.yourmailserverdoamin.com, you can also Exlude those before running the AutoSSL.
3) Once you have excluded all the unwanted addresses, click Run AutoSSL, this might take a while depending on how many domains you have so, prepare a coffee and sit tight.
If everything went well you will see green locks next to all your addresses:
4) Now we are ready to use the secure connections provided by Cpanel, go to Email Accounts -> and select the desired account and click on Connect Devices. There you will see all the necessary information to connect suing SSL/TSL
Comments