Certificate commands that actually work

Every OpenSSL command you need for TLS certificates — generate, convert, inspect, fix. Each one is tested before it goes live, so it works when you paste it.

The five you probably came for

Inspect a certificate
openssl x509 -in certificate.crt -noout -text
Check when a certificate expires
openssl x509 -in certificate.crt -noout -enddate
Generate a key and CSR
openssl req -new -newkey rsa:2048 -nodes -keyout site.key -out site.csr
Fetch a live server's certificate
openssl s_client -connect example.com:443 -servername example.com </dev/null
Bundle a certificate and key into a PFX
openssl pkcs12 -export -out cert.pfx -inkey site.key -in site.crt

Browse by what you are doing

Decode things without uploading them

The tools here parse certificates, CSRs and keys entirely inside your browser. Nothing you paste is uploaded, logged or stored — and the tool pages ship a Content Security Policy that blocks network requests outright, so that is enforced rather than promised.

Why you can trust these commands

Certificate documentation rots quickly. OpenSSL 3.0 changed defaults that most published guides still get wrong, which is why so many of them produce files that Windows and Java silently refuse.

So every command here is run automatically before it is published. If one stops working, publishing stops with it — a broken command cannot reach the page you are reading.

How the verification works →