Monday, July 2, 2018

Generate PKCS12 Format Key Store From Pem Format Cert Files Using OpenSSL

Use below Command in order to generate PKCS12 key store.

openssl pkcs12 -export -out bundle.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem

bundle.pfx : output file name
inkey         : private key
certfile      : certificate chain