Skip to content

Instantly share code, notes, and snippets.

@9nut
9nut / OpenSSL Cheatsheet.md
Last active May 3, 2019 21:30 — forked from davewongillies/OpenSSL Cheatsheet.md
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
  • Generate a self-signed certificate (see How to Create and Install an Apache Self Signed Certificate for more info)