loading image
Verifying Domain loading image

Save Up To 82%
RapidSSL Certificates

Secure your website for as
little as $12.42 per year.

Shop Now

Convert SSL

OpenSSL Commands to Convert SSL/TLS Certificates on Your Machine

Sometimes, it’s necessary for you to convert SSL certificate file format. The following series of OpenSSL commands allows you to convert SSL certificate in various formats on your own machine.

OpenSSL commands to Convert PEM file

Convert PEM to DER

openssl x509 -outform der -in certificate.pem -out certificate.der

Convert PEM to P7B

openssl crl2pkcs7 -nocrl -certfile certificate.cer -out certificate.p7b -certfile CACert.cer

Convert PEM to PFX

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

OpenSSL commands to Convert DER file

Convert DER to PEM

openssl x509 -inform der -in certificate.cer -out certificate.pem

OpenSSL commands to Convert P7B file

Convert P7B to PEM

openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer

Convert P7B to PFX

openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer

OpenSSL commands to Convert PFX file

Convert PFX to PEM

openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes
Why RSO Image

Why Choose Us?

As an SSL Pioneer, there have been 400,000+ site owners that love our convenient selection of the world’s most popular solutions, streamlined support, awesome experts and unlimited resources & tools to get the job done right at an EXTREMELY AFFORDABLE RATE!

  • Firefox web browser image
  • Google Chrome web browser image
  • Internet Explorer web browser image
  • Opera web brower image
  • Safari web browser image

Our certs are supported on 99.9% of web browsers, iPhones & mobile devices

Our Awesome Customers

View SSL reviews & testimonials