Skip to content

Instantly share code, notes, and snippets.

View prajitdas's full-sized avatar
🎯
Focusing

Prajit prajitdas

🎯
Focusing
View GitHub Profile
@prajitdas
prajitdas / keybase.md
Created August 28, 2023 01:13
Keybase proof

Keybase proof

I hereby claim:

  • I am prajitdas on github.
  • I am prajit (https://keybase.io/prajit) on keybase.
  • I have a public key ASBfHN2HSw3TAW8z9yqAEP5bNKT1mkQ35Q-JSF_rDhjsfwo

To claim this, I am signing this object:

@prajitdas
prajitdas / create-certs.sh
Created June 19, 2019 17:39 — forked from sethvargo/create-certs.sh
Use openssl to create an x509 self-signed certificate authority (CA), certificate signing request (CSR), and resulting private key with IP SAN and DNS SAN
# Define where to store the generated certs and metadata.
DIR="$(pwd)/tls"
# Optional: Ensure the target directory exists and is empty.
rm -rf "${DIR}"
mkdir -p "${DIR}"
# Create the openssl configuration file. This is used for both generating
# the certificate as well as for specifying the extensions. It aims in favor
# of automation, so the DN is encoding and not prompted.