I'm testing the revoke command with the --delete-after-revoke option.
After running the revoke the live and renewals directory are both empty as expected.
My question relates to the keys directory.
After running the revoke I see that that I still have a key file:
/etc/letsencrypt/config/keys/0000_key-certbot.pem
I would have expected the revoke command to remove this file.
Am I doing something wrong or should this file exist after running revoke?
certbot --version
certbot 1.7.0
Ubuntu 20.10
Commands:
certbot certonly --dns-cloudflare --dns-cloudflare-credentials /tmp/cloudflare/settings.ini -m support@noojeeit.com.au -d auditor.noojee.com.au --agree-tos --manual-public-ip-logging-ok --non-interactive --work-dir=/tmp/etc/letsencrypt/work --config-dir=/tmp/etc/letsencrypt/config --logs-dir=/tmp/etc/letsencrypt/logs --staging
certbot revoke --cert-path /tmp/etc/letsencrypt/config/live/auditor.noojee.com.au/cert.pem --non-interactive -m null --agree-tos --work-dir=/tmp/etc/letsencrypt/work --config-dir=/tmp/etc/letsencrypt/config --logs-dir=/tmp/etc/letsencrypt/logs --delete-after-revoke --staging