openssl, ssl, tls


Released in 1998, OpenSSL is a cryptography library available for Linux, Windows, BSD and Mac OS systems. The library allows users to do a variety of tasks such as but not limited to creating CSR’s / private keys, convert certificates to different formats and validiate existing certificates.

Over the years I’ve written down commands to manipulate OpenSSL to do what I want and now want to share what I have to the world – enjoy 🙂


Install on Debian/Ubuntu


Create CSR and Private Key

Create CSR from existing Private Key

Create CSR from existing Certificate

Generate Self-Signed Certificate


Convert PKCS12 (P12) to PEM

Convert PEM to DER

Convert PEM to P7B

Convert P7B to PEM

Convert PEM to PKCS12 (P12)


SSL Labs

I check my SSL certificates using this website:

Check PEM Certificate

Check PKCS12/PFX

Check Certificate

Check Private Key

Check CSR


Remove a Passphrase from a Private Key

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.