copy dovecot cert to client
This commit is contained in:
parent
0b583ef3a6
commit
58b9b0e919
|
@ -133,6 +133,7 @@ fi
|
|||
# move the cert to the user's home
|
||||
mkdir /home/$USERNAME/emailcert
|
||||
mv /etc/ssl/certs/$USERNAME.cer /home/$USERNAME/emailcert
|
||||
cp /etc/ssl/certs/dovecot.crt /home/$USERNAME/emailcert
|
||||
cp /etc/ssl/certs/ca-$HOSTNAME.crt /home/$USERNAME/emailcert
|
||||
mv /etc/ssl/private/$USERNAME.key /home/$USERNAME/emailcert
|
||||
mv /etc/ssl/certs/$USERNAME.crt /home/$USERNAME/emailcert
|
||||
|
|
Loading…
Reference in New Issue