Closed anondev-sudo closed 2 years ago
Now certificates are not removed and revoked when you delete proxy
@j122j Can you make this?
Maybe just make option delete_cert
that is false by default. When you add ?delete_cert=true
to the request url, use certbot revoke --cert-name domain
after restarting nginx (to prevent it from crashing because cert file was not found) and then delete the file of the certificate.
In version v1.1.0, certificates are deleted by default when you delete a proxy.
SSL cert should be revoked using
certbot revoke --cert-name <DOMAIN>
when you delete proxy and cert file should be removed too.