Posts

Showing posts from October, 2020

Correct Way to Delete a Certbot SSL Certificate in ubuntu

Normally, you would wait for a certificate to expire, but what if you have an issued certificate for a domain name you don’t need anymore? What is the correct way to completely remove its files from your server?   When deleting SSL certif i cates, it’s not about deleting merely one file manually. You would need to go through at least the following directories and delete the files associated with the domain name. /etc/letsencrypt/archive /etc/letsencrypt/live /etc/letsencrypt/renewal Command to Delete Certbot Certificate Luckily, a feature exists to perform the deletion automatically for you. This command will offer an index from which you can select the domain name to delete: $ sudo certbot delete Type the index number of the domain name’s certificate you want to delete and press enter. The issued certificate will be then deleted. Delete Certbot Certificate by Domain Name Reader  Tim Thorp  kindly provided a more immediate way to delete a Certbot certificate by including ...