diff --git a/src/freedombone-clientcert b/src/freedombone-clientcert index a0dd1f78..ebf17ffd 100755 --- a/src/freedombone-clientcert +++ b/src/freedombone-clientcert @@ -145,8 +145,12 @@ openssl pkcs12 -export -in /home/$USERNAME/emailcert/$USERNAME.cer \ # make an install script echo '#!/bin/bash' > /home/$USERNAME/emailcert/install.sh +echo "sudo mv ca-$HOSTNAME.crt /etc/ssl/certs" >> \ + /home/$USERNAME/emailcert/install.sh echo "sudo mv $USERNAME.crt /etc/ssl/certs" >> \ /home/$USERNAME/emailcert/install.sh +echo "sudo mv dovecot.crt /etc/ssl/certs" >> \ + /home/$USERNAME/emailcert/install.sh echo "sudo mv $USERNAME.key /etc/ssl/private" >> \ /home/$USERNAME/emailcert/install.sh echo 'exit 0' >> /home/$USERNAME/emailcert/install.sh