Safe backups of the cert files

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: enfeedia.com

I ran this command: This is not about a command...

It produced this output: ... so no output

My web server is (include version): N/A

The operating system my web server runs on is (include version): N/A

My hosting provider, if applicable, is: N/A

I can login to a root shell on my machine (yes or no, or I don't know): Yes, but N?A

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no, but N/A

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): N/A

My question is, Seeing the there is both a Live and Archive folder in the /etc/letsencrypt path, can I count on the files in the Archive folder to be sufficient and safe backup for my files in the event the Live folder be damaged/deleted/whatever?

Or for safety, do I need to copy at least (and maybe only) for the fullchain file to somewhere private in a directory of my own?

If the later, I'm having a problem, using sudo, gaining access to the files.

The files in /live/ are just symbolic links to the most recent files in the corresponding directory in /archive/. Besides the certificate, you'd also need the private key. The chain isn't that important as it can be downloaded again. To prevent a very big hassle, I'd recommend to also certainly backup the files in /renewal/.

In fact, I'd just back up the entire /etc/letsencrypt/ directory. Even though the files in /csr/ and /keys/ aren't necessary, it's not that much in size to exclude them from a simple command to back up the entire dir.

3 Likes

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