Certificate Authority, in Elixir, using 'x509' library.
./certs self-signed \
--out-cert ca.crt --out-key ca.key \
--template root-ca \
--subject '/CN=My Root CA'
./certs create-cert \
--issuer-cert ca.crt --issuer-key ca.key \
--out-cert server.crt --out-key server.key \
--template server \
--subject '/CN=server'
- Elixir >= 1.12.0. We use
Mix.install/2
. - Erlang >= 24.0.2. Fixes erlang/otp#4861.
These are managed by Mix.install/2
at the top of the script; I mention them here for interest: