openssl pkcs12 -export -out bundle.p12 -inkey server.key -in server.crt

Category: Self-Hosting

openssl pkcs12 -export -out bundle.p12 -inkey server.key -in server.crt

Bundle a private key and certificate into a PKCS#12 file — required by some platforms and Java apps

Creates a PKCS#12 bundle containing both the certificate and private key in one file. Required by Java keystores and some Windows apps.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.