certify

CLI utilities for simple X509 certificate manipulation
README

A very small utility for common certificate operations using ocaml-x509 and ocaml-nocrypto for key generation. Intended as a (non-drop-in) replacement for these uses of the command-line openssl utility.

Install

certify is now available in opam, a free source-based package manager for OCaml. You can install certify via opam with opam install certify.

Outside of opam:

git clone https://github.com/yomimono/ocaml-certify
dune build

The certify binary will be in _build/default/install/bin, and you can install it wherever you like, or just use it in place.

Running

For help, try certify selfsign --help, certify sign --help, or certify csr --help.

  • certify selfsign produces a private key and self-signed certificate

  • certify sign takes a certificate signing request, and a CA (key and certificate), and produces a certificate

  • certify csr produces a private key and a certificate signing request

Tests

Simple openssl interoperability tests are in tests/test.sh.

Install
Sources
certify-v0.3.2.tbz
sha256=5460485110d0e3ce99bcab80514111a717e6264394bef80d1285352bbfa4b0b1
sha512=86e5199666e669088cb924ccd2c58f914cceb5c7bf0c2c7bf4742aa4eca785a2b7507a8c9308d401a553a298aba67b39e15072b64b600aef059f469fc9e43d87
Dependencies
conf-openssl
with-test
cmdliner
>= "1.0.0"
ocaml
>= "4.04.2"
cstruct
>= "3.2.0"
x509
>= "0.8.0" & < "0.9.0"
nocrypto
>= "0.5.4"
dune
>= "1.0"
Reverse Dependencies