Cheatsheets

Personal collection of cheatsheets.

Cryptography

Cryptography is the practice and study of techniques for secure communication protocols that prevent third parties or the public from reading private messages.

Index

JWT

JSON Web Tokens (JWT) are an open, industry standard method for representing claims securely between two parties. JWT.IO allows to decode, verify and generate tokens.

TLS

Transport Layer Security (TLS) is a cryptographic protocol designed to provide communications security over a computer network. It is used as the security layer in HTTPS and WSS.

OpenSSL

OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.

Create a Certificate Signing Request (CSR).

openssl req -new -nodes -newkey rsa:2048 -keyout private.key -out request.csr

Create a self-signed certificate.

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out certificate.crt