Skip to content

Instantly share code, notes, and snippets.

View taihuynh7's full-sized avatar

taihuynh7

  • Klen
View GitHub Profile
@taihuynh7
taihuynh7 / generate-certificate-chain.sh
Created May 30, 2021 17:09 — forked from granella/generate-certificate-chain.sh
Create self-signed certificate with root and ca for development
#!/bin/bash
rm *.jks 2> /dev/null
rm *.pem 2> /dev/null
echo "===================================================="
echo "Creating fake third-party chain root -> ca"
echo "===================================================="
# generate private keys (for root and ca)