What Files does certbot change


Looking at installing Letsencrypt on Centos 7:

What files does certbot modify and add when installed and enabled? Is it just ssl.conf or what else?

I am wanting to know what files to back up in case something goes wrong and I want to remove it completely.


If you want to be certain, I’d take a backup of your complete /etc/httpd folder (always sensible to have a backup :slight_smile: )

You can run it in “certonly” option, in which case no changes are made.

If you have a control panel which creates / edits your apache files, I’d suggest using the certonly method.

If not, then use the auto mode, and it will modify the vhost file for the domains you use


It appears to alter:


And add this directory:


Thats all I have noticed.


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