Packs / OpenSSL Recipes

Pack 03

OpenSSL Recipes

20 practical commands for certificates, TLS checks, hashing and encryption

For blue-team learners, homelabbers and junior security staff who need OpenSSL to do one specific job without digging through its manual. Twenty recipes cover checking TLS on servers, reading and verifying certificates and chains, making keys, CSRs and a lab CA, hashing and encrypting files, and building .pfx files for Windows. Each recipe shows the real output from a run on an isolated lab network, so you know what a correct result looks like.

US$12local taxes calculated at checkout

Buy on Gumroad

Checkout and download are handled by Gumroad.

Cover of OpenSSL Recipes

What you get

  • OpenSSL Recipes PDF: 20 recipes
  • One-page OpenSSL cheat sheet PDF
  • Edition 1

What it covers

  • Inspect TLS on real servers
  • Read and check certificates
  • Build keys, CSRs and a lab CA
  • Hash, encrypt and convert files

Tested on

Tool
OpenSSL 3.6.5
System
Kali GNU/Linux Rolling
Lab runs
22 Nov 2026, on an isolated lab network

Only test servers you own or have written permission to assess.

A sample page from OpenSSL Recipes
A page from the pack.

The 20 recipes

Inspecting remote TLS

  1. 01See what a STARTTLS mail server negotiates
  2. 02Check whether a server only accepts old TLS
  3. 03Save a server's certificate to a file

Reading certificates

  1. 04Decode a certificate and spot weak settings
  2. 05Check whether a certificate has expired or will soon

Keys, CSRs and certificates

  1. 06Generate a private key and read it
  2. 07Create a CSR with a subject alternative name
  3. 08Check a CSR before sending it to a CA
  4. 09Make a self-signed certificate in one command
  5. 10Build a lab CA and sign a CSR
  6. 11Verify a certificate chain
  7. 12Check a key matches its certificate
  8. 13Test your own TLS server

Hashes, secrets and encryption

  1. 14Generate random secrets
  2. 15Hash a file to check its integrity
  3. 16Sign a file with an HMAC
  4. 17Encrypt a file with a passphrase, and decrypt it

Converting formats

  1. 18Convert a certificate between PEM and DER
  2. 19Bundle a key and its chain into a .pfx for Windows
  3. 20Pull the key and certificates out of a .pfx

Also in a bundle