I have a certificate used by some websites hosted on my Apache server. I have already revoked the certificate via certbot.
I would like to delete the certificate. I have already done it for another certificate by running the command: certbot-auto delete --cert-name exampleCertName
The result was disaster for the websites as it took down the Apache server. Reason being the certificate files are still being referred to in virtual host (vhost) files of Apache. When there is such a problem with any of the vhost files, it seems the whole Apache goes down.
I know that there is an Apache plugin for certbot which is used in new certificate creations. e.g.
certbot-auto run --apache
which creates the certificate and nicely updates the Apache settings (vhost files).
I looked for, but failed to find the corresponding command (a command or certbot command modifier which would adjust the Apache files when deleting the certificate files) for the deletion of certificates. But I could not find any. If it is already in Certbot documentation, I overlooked it I guess.
I appreciate your help!
My web server is Apache 2.4.10
The operating system my web server runs on: Debian v8.10
The version of my client is (
certbot-auto --version gives): 1.4.0