PKCS12 – create pk12 file

openssl pkcs12 -export -out server.p12 -inkey server.key -in server.crt -certfile server-ca.crt
openssl pkcs12 -export -out /etc/ssl/private/fullchain.p12 -in cert.pem -inkey privkey.pem -certfile chain.pem
openssl pkcs12 -export -out /etc/ssl/private/server-example.pfx -inkey /etc/ssl/private/server-example.key -in /etc/ssl/certs/server-example.crt -certfile /etc/ssl/certs/CA.crt

Leave a Reply

Your email address will not be published. Required fields are marked *