1. Convert .der to .pem
openssl x509 -inform der -in certificate.cer -out certificate.pem
2. Convert .pem to .pfx (PKCS #12)
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
You can also learn how to convert other certificates.
Convert .Crt Certificates
Convert .Cer Certificates
Convert .jks Certificates
Convert .pem Certificates
Convert .der Certificates
Convert .p7b Certificates
Convert .p12 Certificates
See Also:
How to Setup Email on DigitalOcean
How to Add Sudo User in Ubuntu and Linux with Root Privileges
0 Comments