Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 704 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 704 Bytes

elixir-certs

Certificate Authority, in Elixir, using 'x509' library.

Example Usage

./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'

Requirements

  • Elixir >= 1.12.0. We use Mix.install/2.
  • Erlang >= 24.0.2. Fixes erlang/otp#4861.

Dependencies

These are managed by Mix.install/2 at the top of the script; I mention them here for interest: