This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If receiving a certificate mismatch from webserver, delete and reinstall certificates as follows | |
| ///////////////Delete Certbot Certs///// | |
| #list all SLL certificates issued by certbot | |
| sudo certbot certificates | |
| sudo certbot delete --cert-name yourdomain.com | |
| # Second best if first does not work is to manually find the path to the fullchain certificate you wish to delete/remove | |
| certbot revoke --cert-path /etc/letsencrypt/live/... #path to the cert | |
| certbot delete --cert-name yourdomain.com |