From 5651899867b9e4ffc77f33ead8434dd706f61d49 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 7 Mar 2015 21:38:14 +0000 Subject: [PATCH] Create directories --- doc/EN/faq.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/EN/faq.org b/doc/EN/faq.org index 104c1d92..c97824fe 100644 --- a/doc/EN/faq.org +++ b/doc/EN/faq.org @@ -326,6 +326,9 @@ tar -czvf /etc/ssl/freedombone-certs.tar.gz /etc/ssl/mycerts/*.crt To avoid any possibility of the certificates being accidentally overwritten by self-signed ones at a later date you can create backups. #+BEGIN_SRC bash +mkdir /etc/ssl/backups +mkdir /etc/ssl/backups/certs +mkdir /etc/ssl/backups/private cp /etc/ssl/certs/$HOSTNAME* /etc/ssl/backups/certs/ cp /etc/ssl/private/$HOSTNAME* /etc/ssl/backups/private/ chmod -R 400 /etc/ssl/backups/certs/*