SSL - Convert PEM and private key to PKCS#12 - Mkyong.com openssl pkcs12 -export -out cert.p12 -in cert.pem -inkey key.pem