How to remove Certbot certification completely?

I did:

# certbot delete --cert-name

But, the lines that certbot added to my Virtual Host configuration files not removed!

Thank you.

Correct, that feature (currently?) is not present in certbot. It has no way of reverting changes it made to the webserver configuration. This is also documented in the certbot documentation: User Guide — Certbot 1.19.0.dev0 documentation

There was an idea to include automatic detection if a cert was still in use, so the user could be warned, but this was not deemed feasible. Currently, the improvement in development is to warn users, but thats it.

It's probably unlikely that any webserver configuration "reverting" feature will be developed any time soon.


Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.