Skip to content

Instantly share code, notes, and snippets.

@mithun3
mithun3 / generate-certificate-chain.sh
Created June 25, 2019 01:58 — 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)