Create a PKCS#12 file with OpenSSL
Given a private key file and a certificate, both in PEM format, we can create a PKCS#12 file (.p12, .pfx) using OpenSSL:
openssl pkcs12 -export -out <P12File.pfx> -inkey <keyfile.pem> -in <certfile.pem>
https://tools.ietf.org/html/rfc7292
https://www.openssl.org/docs/man1.1.1/man1/openssl-pkcs12.html
openssl pkcs12 -export -out <P12File.pfx> -inkey <keyfile.pem> -in <certfile.pem>
https://tools.ietf.org/html/rfc7292
https://www.openssl.org/docs/man1.1.1/man1/openssl-pkcs12.html
Comments
Post a Comment