Skip to content

Instantly share code, notes, and snippets.

@davewongillies
davewongillies / OpenSSL Cheatsheet.md
Last active May 27, 2025 17:12
OpenSSL Cheatsheet

General OpenSSL Commands

These commands allow you to generate CSRs, Certificates, Private Keys and do other miscellaneous tasks.

Generate a new private key and Certificate Signing Request

openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key