package castore

  1. Overview
  2. Docs
A portable CA Store with a global .crt and .pem files

Install

Dune Dependency

Authors

Maintainers

Sources

castore-0.0.1.tbz
sha256=881ab402b92a8bcfe56d0c2083962e3a1ec8fd250ca18e60e9ce1ff2b19b67e1
sha512=2d6fecf03bcd2baf445e1b9d00dd7b957d32c73a5f2bd8377055f851a27c493fe1c5a02df03ffc23f1672f062dd7ce96998556bf662a98b3e820b2967a5bb8a0

README.md.html

CAStore 🦫

A portable pure OCaml CA Store, with no dependencies, inspired by Elixir's :castore.

Getting Started

First, install castore in your switch:

# latest published version
opam install castore

# latest development version
opam pin castore git+https://github.com/leostera/castore

Now we can add it to your dune project dependencies:

(package
 ;...
 (depends
   (castore (>= "0.0.0")
   ...)
 ...)

And to your dune stanzas:

(executable
  (name my_app)
  (libraries castore))

And finally we can use it when creating your applications TLs config:

let authenticator = make_auth Ca_store.pem in
(* ... *)

For an example of how to use this, check out the Blink.Transport.Ssl.Auth module.

OCaml

Innovation. Community. Security.