I am having issues with certbot-auto. My server got hacked earlier so I’m trying to revoke the certs for a domain (pvb.initd.nl) but here’s what I’m getting:
Command: ./certbot-auto revoke --cert-path /path/to/existing/pem
Command: ./certbot-auto revoke -d pvb.initd.nl --cert-path /path/to/existing/pem
If your account key has been compromised or you otherwise need to revoke a certificate, use the revoke command to do so. Note that the revoke command takes the certificate path (ending in cert.pem), not a certificate name or domain. Example:
Additionally, if a certificate is a test cert obtained via the --staging or --test-cert flag, that flag must be passed to the revoke subcommand. Once a certificate is revoked (or for other cert management tasks), all of a certificate’s relevant files can be removed from the system with the delete subcommand:
If you can run certbot-auto, it’s probably the right command for you (whether to use certbot or certbot-auto depends only on how you installed Certbot; they don’t have different functionality or options).