From 6e32fb4ca59697cea05118b33f44ba5a5ca64612 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 17 Jun 2015 22:28:33 +0100 Subject: [PATCH] pkcs12 --- src/freedombone-clientcert | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-clientcert b/src/freedombone-clientcert index cad18c78..65a14f45 100755 --- a/src/freedombone-clientcert +++ b/src/freedombone-clientcert @@ -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