Skip to content

Instantly share code, notes, and snippets.

@vansergen
vansergen / README.md
Last active April 6, 2024 21:27
EFK stack
@vansergen
vansergen / README.md
Last active March 5, 2024 19:03
Sign git commits in GitHub Actions

Sign git commits with GPG in GitHub Actions

  • Generate a GPG key (see here)
gpg --full-generate-key
  • Save the GPG passphrase to secrets as GPG_KEY_PASSPHRASE
@vansergen
vansergen / README.md
Last active June 25, 2022 11:33
OpenSSL Certificate Authority

Create CA (root and intermediate) and sign certificates

  1. Setup the environment variables in the env.sh file
CA_ROOT_PASSPHRASE='SuperStrongROOTPassphrase'
CA_ROOT_EMAIL='contact@example.com'
CA_ROOT_COMMON_NAME="Example"
CA_ROOT_COUNTRY="US"
CA_ROOT_STATE="New York"