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 

Comments

Popular posts from this blog

Decoding OCSP GET requests

Signing a CSR with an Enrollment Agent certificate

Compacting an AD CS database