Skip to content

Instantly share code, notes, and snippets.

@quickshiftin
Last active October 21, 2017 21:50
Show Gist options
  • Save quickshiftin/85fdeecf510a3f4516eca2c7f290f299 to your computer and use it in GitHub Desktop.
Save quickshiftin/85fdeecf510a3f4516eca2c7f290f299 to your computer and use it in GitHub Desktop.
Revoke Letsencrypt certificate
#/bin/bash
# http://disq.us/p/1k1ww01
cert_path=$1 # eg /etc/letsencrypt/live/example.com/cert.pem
key_path=$2 # eg /etc/letsencrypt/live/example.com/privkey.pem
certbot revoke --cert-path "$1" --key-path "$2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment