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.

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.

The 20 recipes
Inspecting remote TLS
- 01See what a STARTTLS mail server negotiates
- 02Check whether a server only accepts old TLS
- 03Save a server's certificate to a file
Reading certificates
- 04Decode a certificate and spot weak settings
- 05Check whether a certificate has expired or will soon
Keys, CSRs and certificates
- 06Generate a private key and read it
- 07Create a CSR with a subject alternative name
- 08Check a CSR before sending it to a CA
- 09Make a self-signed certificate in one command
- 10Build a lab CA and sign a CSR
- 11Verify a certificate chain
- 12Check a key matches its certificate
- 13Test your own TLS server
Hashes, secrets and encryption
- 14Generate random secrets
- 15Hash a file to check its integrity
- 16Sign a file with an HMAC
- 17Encrypt a file with a passphrase, and decrypt it
Converting formats
- 18Convert a certificate between PEM and DER
- 19Bundle a key and its chain into a .pfx for Windows
- 20Pull the key and certificates out of a .pfx
Also in a bundle
- Crypto & Keys Bundle · 2 packs for US$19
- The Complete Collection · 8 packs for US$55