Convert SSL certificate into PFX format

To convert SSL certficiate into PFX format, run

openssl pkcs12 -export -out certificate.pfx -inkey private-key.key -in certificate.crt -certfile ca-certificate.crt

Example for SSL from namecheap/ssls

openssl pkcs12 -export -out certificate.pfx -inkey serverok_in_key.txt -in -certfile
Need help with Linux Server or WordPress? We can help!

Leave a Reply

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