SSL – Convert PEM and private key to PKCS#12
Convert cert.pem and private key key.pem into a single cert.p12 file, key in the key-store-password manually for the .p12 file.
openssl pkcs12 -export -out cert.p12 -in cert.pem -inkey key.pem
No password
openssl pkcs12 -export -out cert.p12 -in cert.pem -inkey key.pem -passout pass: -nokeys
Password is 123
openssl pkcs12 -export -out cert.p12 -in cert.pem -inkey key.pem -passout pass: 123