Working with Certbot

Published 
DevOps

List of useful Certbot commands:

  1. sudo certbot certificates - list all certficates active/expired.
  2. sudo certbot --nginx - automatic certificate installation with nginx (overriding your existing configs)
  3. sudo certbot renew - renew all certificates, may be used with --dry-run to check renewals without actually renewing certificates.
  4. sudo certbot delete --cert-name NAME - delete certificate by a cert name.
  5. sudo certbot revoke --cert-name NAME - revoke active certificate by a cert name (not deleting cert files).