Skip to content

Instantly share code, notes, and snippets.

@cahitbeyaz
cahitbeyaz / generate-certificate-chain.sh
Created June 25, 2021 09:24 — 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)