Skip to content

Instantly share code, notes, and snippets.

@jennimckinnon
Created May 27, 2016 06:38
Show Gist options
  • Save jennimckinnon/6da2a3cd69cd779d391349ca76a29088 to your computer and use it in GitHub Desktop.
Save jennimckinnon/6da2a3cd69cd779d391349ca76a29088 to your computer and use it in GitHub Desktop.
certbot revoke -d your-site.com -d your-site.net
@djfuer
Copy link

djfuer commented Dec 9, 2016

Little bit late, but here it is ))

  1. Find your certbot script (usually located in your home folder, like /home/your_user_name
  2. Sometimes sertbot script has a name "sertbot-auto", depending on this use commands below
    ./certbot-auto revoke --cert-path /etc/letsencrypt/live/your-domain.com/fullchain.pem
    or
    ./certbot revoke --cert-path /etc/letsencrypt/live/your-domain.com/fullchain.pem

For me worked 1st one.
For sure u can add " -d your-site.com " in the middle.
Note !!!
Revoked serts still shown as valid in Chrome. Use Firefox )))
details below
https://community.letsencrypt.org/t/revoked-certs-not-showing-as-revoked-in-browsers/11531/7

@jmewes
Copy link

jmewes commented Jan 21, 2017

For the letsencrypt command it works similarly:

letsencrypt revoke --cert-path /etc/letsencrypt/live/mydomainname.com/fullchain.pem

@brunis
Copy link

brunis commented Apr 5, 2018

Why is there so many --x-path options, for revoke there seems to be a mismatch.

There is both --cert-path and --chain-path in options, but for revoke, we pass the fullchain.pem but we use the --cert-path option, why is that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment