Skip to content

Instantly share code, notes, and snippets.

@mohanpedala
mohanpedala / bash_strict_mode.md
Last active December 28, 2025 10:42
set -e, -u, -o, -x pipefail explanation
@princeppy
princeppy / 0 openssl.md
Last active July 4, 2025 00:50 — forked from jchandra74/openssl.MD
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

Extensions

  • .pem => Privacy Enhancement Mail Certificate
  • .key extension => is a PEM file containing just the private-key
  • .pkcs|.pfx|.p12 => is a fully encrypted passworded container format that contains both pubkic and private certificate pairs
  • .cert|.cer|.crt => is a public .pem formatted file with diffrent extenssions for windows
  • *.private.pem = *.key.pem = *.key
  • *.public.pem = *.crt.pem = *.crt = *.cer.pem = *.cer
  • passworded(*.key + *.cer) = *.pkcs|*.pfx|*.p12
  • *.key.pem + *.crt.pem in one file => *.keycer.pem