Certbot delete
certbot delete --cert-name YOUR_CERT_NAME
Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Deleted all files relating to certificate YOUR_CERT_NAME. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
With errors:
certbot delete YOUR_CERT_NAME certbot: error: unrecognized arguments: YOUR_CERT_NAME
Related commands
See also
Advertising: