OpenSSL 3 · Converting, hashing and encrypting
Bundle a key and certificate as PKCS#12
Create a .p12 or .pfx file, for example for Windows or Java. You are prompted for a password.
openssl pkcs12 -export -inkey private.key -in cert.pem -out bundle.p12
Official OpenSSL 3 documentation
More converting, hashing and encrypting commands
- Convert PEM to DER
- Extract from a PKCS#12 bundle
- Hash a file
- Generate random bytes
- Encode and decode Base64
- Encrypt a file with a password
All converting, hashing and encrypting commands · OpenSSL 3 cheatsheet