Skip to content
Home
Dev Convert Generate Finance Calc Design Security Media

More categories

Productivity 23 Network Tools 18 Text Tools 16 SEO Tools 15 Education Tools 14 PDF Tools 10 Mockups 5

Learn and build

GuidesBlogAPI & MCPCheatsheetsChangelog All categories

Browse

415 tools · 15 categories

Start here

Popular tools New this week 29 All tools 415

Categories

Developer Tools 93 Converters 52 Calculators 32 Finance Tools 32 Generators 31 Design Tools 25 Media Tools 25 Security Tools 24 Productivity 23 Network Tools 18 Text Tools 16 SEO Tools 15 Education Tools 14 PDF Tools 10 Mockups 5

Learn and build

Guides Cheatsheets Blog REST API MCP server Changelog

No matches here.

Keep FindUtils free Sponsors fund new tools
  1. Cheatsheets
Guides Blog API & MCP
Sponsor
FindUtils
Sponsor
  1. Home
  2. Cheatsheets
  3. Linux & Terminal
  4. OpenSSL Certificates

Linux & Terminal · Cheatsheet

OpenSSL Certificates Cheatsheet

Inspect PEM certs, CSRs, and keys, convert formats, verify chains, and probe live TLS

31 commands 7 sections

On this sheet

Inspect PEM 6 Keys 6 Create certs 4 Convert 5 Verify 5 Live TLS 4 Sources 1
Try it in the browser Paste a PEM certificate, CSR, or key. See type, subject, SAN, dates, and issuer in the browser. Open PEM Decoder

No entry matches that filter.

Inspect PEM

  • openssl x509 -in cert.pem -text -noout Print a certificate
  • openssl x509 -in cert.pem -noout -subject -issuer -dates Subject, issuer, and dates
  • openssl x509 -in cert.pem -noout -ext subjectAltName Print SAN
  • openssl x509 -in cert.pem -noout -fingerprint -sha256 SHA-256 fingerprint
  • openssl req -in csr.pem -text -noout Print a CSR
  • openssl crl -in crl.pem -text -noout Print a CRL

Keys

  • openssl pkey -in key.pem -text -noout Inspect a private key (prints material)
  • openssl pkey -in key.pem -pubout Write the public key
  • openssl pkey -in key.pem -check Check key consistency
  • openssl genpkey -algorithm RSA -out key.pem -pkeyopt rsa_keygen_bits:2048 Generate an RSA key
  • openssl genpkey -algorithm ED25519 -out key.pem Generate an Ed25519 key
  • openssl rsa -in key.pem -pubout RSA public key from an RSA key file

Create certs

  • openssl req -new -key key.pem -out req.csr Create a CSR
  • openssl req -new -x509 -key key.pem -out cert.pem -days 365 Self-signed certificate
  • openssl x509 -req -in req.csr -signkey key.pem -out cert.pem -days 90 Sign a CSR with a key
  • openssl req -new -x509 -nodes -newkey rsa:2048 -keyout key.pem -out cert.pem -days 30 -subj "/CN=localhost" One-shot local cert and key

Convert

  • openssl x509 -in cert.der -inform DER -out cert.pem DER cert to PEM
  • openssl x509 -in cert.pem -outform DER -out cert.der PEM cert to DER
  • openssl pkcs12 -in bundle.p12 -nodes -out bundle.pem PKCS#12 to PEM
  • openssl pkcs12 -export -in cert.pem -inkey key.pem -out bundle.p12 PEM cert and key to PKCS#12
  • openssl x509 -in cert.pem -noout -pubkey Extract the cert public key

Verify

  • openssl verify -CAfile ca.pem cert.pem Verify a cert against a CA file
  • openssl verify -untrusted chain.pem -CAfile root.pem leaf.pem Verify with intermediates
  • openssl x509 -in cert.pem -noout -checkend 86400 Fail if cert ends within 1 day
  • openssl ocsp -issuer ca.pem -cert cert.pem -url http://ocsp.example/ Query OCSP for a cert
  • diff <(openssl x509 -in a.pem -noout -modulus) <(openssl pkey -in key.pem -noout -modulus) Check cert and key modulus match

Live TLS

  • openssl s_client -connect host:443 -servername host Open a TLS session
  • openssl s_client -connect host:443 -servername host </dev/null | openssl x509 -noout -text Show the presented cert
  • openssl s_client -connect host:443 -showcerts Print the cert chain
  • echo | openssl s_client -connect host:443 2>/dev/null | openssl x509 -noout -dates Print live notBefore/notAfter

Sources

  • https://docs.openssl.org/3.6/man1/openssl/ OpenSSL 3.6 command index: certificate, key, verification, and TLS commands.

Related cheatsheets

  • Linux Commands61 commands
  • Bash Scripting53 commands
  • Vim Editor64 commands

Guides that use these commands

  • PEM Decoder: Read Certificates and CSRs LocallyGuide · 5 min read

Tools for this work

  • PEM DecoderPaste a PEM certificate, CSR, or key. See type, subject, SAN, dates, and issuer in the browser.

From FindUtils

More to explore

Products and services from the team behind FindUtils.

Promote your tool
Featured product seeranks.com SeeRanks — transparent product discovery A public ranking board where paid placement is always labeled and every product keeps its earned position. View SeeRanks Public rank board #1 Sponsored #2 #3 #4 Paid placement is always labeled Free favicon tool emojifavicons.com Emoji Favicons Turn any emoji into a favicon with one HTML line. SVG, PNG or ICO, no sign-up. <link rel="icon" href=".../🦊.svg"> Create a favicon
FindUtils service findutils.com Articles for software tools A sourced article for your channels, or a sponsored FindUtils publication with editorial review. Compare packages Domain portfolio findutils.com Domain names for sale .com.dev.sh.app.io Unused names across dev tools, AI, PDF and commerce. Make an offer. Browse the list Playable ranking towerscore.io TowerScore — stack the skyline Play to climb, or buy a floor. Paid floors are labeled. Open TowerScore

Missing a tool you need?

Tell us what to build next. Most requests ship as a free browser tool, an API endpoint and an MCP tool.

Request a tool
FindUtils

Free, fast utilities that respect your data. Most tools process your files in the browser, so they never leave your device.

  • No sign-up for free tools
  • Most tools run in your browser
  • 358 tools callable over REST or MCP

Tools

DevelopersConvertPDFDesignSecurityAll tools →

Learn

GuidesBlogCheatsheetsChangelog

Build

REST APIMCP serverAPI referenceWorkflowsStatus

FindUtils

AboutLibraries we useSponsorRequest a toolDomains for saleContact
© 2026 FindUtils PrivacyTermsSitemap
Service status
FindUtils

Free, fast utilities that respect your data. Most tools run in your browser.

Build with it

REST APIMCP serverGuidesChangelog

FindUtils

AboutSponsorPrivacyContact
Theme
© 2026 FindUtils Terms
FindUtils
Guides Blog REST API MCP server Changelog

Categories

Developers 93 Convert 52 Calculate 32 Finance 32 Generate 31 Design 25
All 15 categories →

Keep it free

Sponsorship keeps every tool free and funds the new ones we ship each week.

Sponsor Back the project
Tools API Sponsor