Skip to content
Snippets Groups Projects
Commit 369e2a5b authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't delete DH params if they aren't created

parent 2d2a4d12
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,6 @@ openssl ca -config /etc/ssl/dovecot-ca.cnf -in /etc/ssl/requests/$USERNAME.csr -
# move the cert to the user's home
mkdir /home/$USERNAME/emailcert
shred -zu /etc/ssl/certs/$USERNAME.dhparam
mv /etc/ssl/certs/$USERNAME.cer /home/$USERNAME/emailcert
cp /etc/ssl/certs/dovecot-ca.crt /home/$USERNAME/emailcert
mv /etc/ssl/private/$USERNAME.key /home/$USERNAME/emailcert
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment