openssl pkcs12 -in $1.p12 -out $1.crt -clcerts -nokeys
openssl pkcs12 -in $1.p12 -out $1.key -nocerts -nodes
openssl pkcs12 -in $1.p12 -out $1.pem

