pkcs12
This commit is contained in:
parent
9342341e47
commit
6e32fb4ca5
|
@ -131,6 +131,7 @@ 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
|
||||
mv /etc/ssl/certs/$USERNAME.crt /home/$USERNAME/emailcert
|
||||
openssl pkcs12 -export -in /home/$USERNAME/emailcert/$USERNAME.cer -out /home/$USERNAME/emailcert/$USERNAME.p12 -inkey /home/$USERNAME/emailcert/$USERNAME.key -certfile /home/$USERNAME/emailcert/dovecot-ca.crt
|
||||
|
||||
# make an install script
|
||||
echo '#!/bin/bash' > /home/$USERNAME/emailcert/install.sh
|
||||
|
|
Loading…
Reference in New Issue