Create directories
This commit is contained in:
parent
f4c305d3a5
commit
5651899867
|
@ -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/*
|
||||
|
|
Loading…
Reference in New Issue