I welcome the new Let’s Encrypt Plugin features for Auto Renewal but they do not auto renew the hostname cpanel service domains.
I renewed last night with the following then i got a new date of expiration but it does not show on the new certificate. Still less than 30 days remaining.
sudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d domain.co.uk,cpanel.domain.co.uk plus the rest of em i have in the list for cpanel service.
You have basically obtained the certificate, but not necessarily installed it. How did you install it before ? by copying and pasting it into the cpanel ? or by referencing the correct domains in your httpd config ?
Well, there are two methods, depending how technical you are.
You could get the certificates ( from /etc/letsencrypt/live/domain ) and paste them into cpanel. This is the way you would almost have to do it the very first time, but is a manual method, so can't easily be automated.
Check in your /etc/httpd/conf/httpd.conf file for where it is referencing the current certificates.
You can do a simple check with
grep SSLCertificate /etc/httpd/conf/httpd.conf
although this will show you all of them, and not where they are easily for each domain. You can edit the file though ( or use "less /etc/httpd/conf/httpd.conf" to view it) and find where they are.
For domains they are likely to be at some location like;
Then it will create a symlink to the correct files ( which will be updated by letsencrypt ) so renewing in the future you simply need to run the letsencrtpy / certbot to get a new cert, and then restart apache to use it. Hence it can be automated.