Skip to content

Instantly share code, notes, and snippets.

@cruzgo92
cruzgo92 / instructions.txt
Last active March 17, 2021 01:20
[FIX] SSL mismatch using Certbot on Apache2
# 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