• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

priv/H03-May-2022-4,2104,082

src/H03-May-2022-6549

test/H03-May-2022-1914

LICENSEH A D01-Jan-20001.4 KiB3024

README.mdH A D01-Jan-2000896 3423

rebar.configH A D01-Jan-2000164 64

README.md

1# [certifi](https://github.com/certifi/erlang-certifi)
2
3[![Build Status](https://github.com/certifi/erlang-certifi/workflows/build/badge.svg)](https://github.com/certifi/erlang-certifi)
4
5This Erlang library contains a CA bundle that you can reference in your Erlang
6application. This is useful for systems that do not have CA bundles that
7Erlang can find itself, or where a uniform set of CAs is valuable.
8
9This an Erlang specific port of [certifi](https://certifi.io/). The CA bundle
10is derived from Mozilla's canonical set.
11
12## Usage
13
14```erlang
15CaCerts = certifi:cacerts(),
16SslOptions = [{verify, verify_peer},
17              {depth, 99},
18              {cacerts, CaCerts}],
19ssl:connect( "example.com", 443, SslOptions ).
20```
21
22
23You can also retrieve the path to the file and load it by yourself if needed:
24
25```erlang
26Path = certifi:cacertfile().
27```
28
29## Build & test
30
31```shell
32$ rebar3 eunit
33```
34