OpenSSL Command Generator

The ultimate cheat sheet for OpenSSL. Generate, convert, and inspect certificates instantly.

OpenSSL Command Generator

Generate RSA Private Key
openssl genrsa -out private.key 2048
Generate CSR from Key
openssl req -new -key private.key -out request.csr
Convert PEM to DER
openssl x509 -in cert.pem -outform der -out cert.der
Check Certificate Expiry
openssl x509 -enddate -noout -in cert.pem
View Certificate Details
openssl x509 -in cert.pem -text -noout

Common OpenSSL commands for key/cert/CSR operations. Copy to clipboard for quick use.

Explore More Developer Tools