Skip to content

Certificate Authority, in Elixir, using 'x509' library

Notifications You must be signed in to change notification settings

rnewson/elixir-certs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

./certs create-cert \
    --issuer-cert ca.crt --issuer-key ca.key \
    --out-cert node.crt --out-key node.key \
    --template node \
    --subject '/CN=US' \
    --host example.com \
    --node couchdb

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:

About

Certificate Authority, in Elixir, using 'x509' library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 95.9%
  • Shell 4.1%