renew letsencrypt certs

If you already install SSL certs on your blog and want to renew it you only have to generate new certs using letsencrypt

[UPDATE] or you can just create a new one by ./certbot-auto certonly --manual -d -d

[UPDATE] certbot-auto v0.25.1 change to certbot-auto renew

it will ask you to create a file on web server in certain path

Do not continue until you create that file or it will fail to verify. Get into your cPanel and create that file in exactly the same path what letsencypt tells you to create, like /home/yourdomain/public_html/.well-known/acme-challenge/et6UGKgIKFlWb-xxxxxxxxxxxxx

Double check by open file that you have created from browser with url to that file, and make sure it prints out data that letsencrypt tells you to create. Continue to your letsencrypt terminal and hit enter for verifying process.

As you can see, it generates some files at /etc/letsencrypt/live/yourdomain/ , open cert.pem and privkey.pem using text editor.

From cPanel get into SSL/TLS Status -> Manage SSL/TLS Hosts -> Update Certificate in root domain that you want to update. Then copy and paste privekey.pem to Private Key (Key) textbox and cert.pem to Certificate (CRT) textbox. Finally click Install Certificate. Your certificate valid for 90 days


Leave a Reply

Your email address will not be published. Required fields are marked *