Import Letsencrypt certificate to pfx (Centos 6,7)

Simple command to import any certificate(free, not free) into pfx with password.

openssl pkcs12 -export -out /tmp/certificate.pfx 
-inkey /etc/letsencrypt/live/WEBSITE/privkey.pem 
-in /etc/letsencrypt/live/WEBSITE/cert.pem 
-certfile /etc/letsencrypt/live/WEBSITE/chain.pem

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.