rebar3/_build/default/lib/certifi
Philipp Huebner b15a9b3527 New upstream version 3.18.0 2022-01-08 15:36:34 +01:00
..
priv New upstream version 3.18.0 2022-01-08 15:36:34 +01:00
src New upstream version 3.18.0 2022-01-08 15:36:34 +01:00
test New upstream version 3.18.0 2022-01-08 15:36:34 +01:00
LICENSE New upstream version 3.17.0 2021-12-27 20:09:21 +01:00
README.md New upstream version 3.17.0 2021-12-27 20:09:21 +01:00
rebar.config New upstream version 3.17.0 2021-12-27 20:09:21 +01:00

README.md

certifi

Build Status

This Erlang library contains a CA bundle that you can reference in your Erlang application. This is useful for systems that do not have CA bundles that Erlang can find itself, or where a uniform set of CAs is valuable.

This an Erlang specific port of certifi. The CA bundle is derived from Mozilla's canonical set.

Usage

CaCerts = certifi:cacerts(),
SslOptions = [{verify, verify_peer},
              {depth, 99},
              {cacerts, CaCerts}],
ssl:connect( "example.com", 443, SslOptions ).

You can also retrieve the path to the file and load it by yourself if needed:

Path = certifi:cacertfile().

Build & test

$ rebar3 eunit