⚠️ Do not use this in production. This is intended for testing only.
This repo contains a couple of scripts to generate a CA, server certificates, client TLS certificates.
The certificates generated can then be used with HashiCorp Vault (hence the names used).
You can customize the names used by modifying the gen_*.sh
scripts.
gen_certs.sh
- generates the CA and server certificatesgen_client_cert.sh
- generates client certificatesnuke_certs.sh
- deletes all the generated data.vars
- contains the variables with the paths used by the scripts