talira

certifi (Erlang)

Mozilla's CA certificate bundle packaged for Erlang and Elixir apps

open sourceBSD-3-Clausefree

certifi for Erlang is a CA bundle you can reference from an Erlang (or Elixir) application, for systems where Erlang can't find a CA bundle itself or where a uniform set of CAs matters. It's the Erlang port of certifi, with the bundle derived from Mozilla's canonical set and checked against the extraction curl publishes; certifi:cacerts() gives the certificates for ssl options and certifi:cacertfile() the file's path. It also ships an opt-in bundle of the CA certificates EU member states list as qualified to issue website authentication certificates (QWACs), and you choose which bundles are compiled into the module.

Problems it solves

  • verify TLS certificates from my Erlang app on a system without a CA bundle
  • use one fixed set of trusted root certificates in my Elixir HTTP client
  • trust EU qualified website certificates in Erlang

Features

  • Mozilla's CA bundle for verify_peer TLS connections
  • certificates as Erlang terms or as a PEM file path
  • opt-in EU qualified website certificate (QWAC) bundle
  • choose which bundles are embedded at compile time
  • weekly automated bundle updates, checksum and signature checked

Limitations

  • The EU bundle includes issuing CAs as well as roots, so it needs ssl's partial_chain option1

Alternatives

The same job

These do what certifi (Erlang) does.

  1. CAStore Up-to-date CA certificate store for Elixir

Compare certifi (Erlang) with the top 3