Deleting a single certbot certificate

Posted on Thu 10 October 2019 in github apps

# run the following command 
certbot delete --cert-name domain.com

Why would you want to do this? In my case I had created certificates for www.conveyor.dev and conveyor.dev. I decided to use a redirect for traffic to conveyor.dev to www.conveyor.dev, by doing that the certbot renewal process no longer worked so the conveyor.dev cert and renewal needed to be removed.

The certbot delete command will do just that.