package certify
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=35a9492d13d90f6e6c1720a38fb210af9c1d09f3d231bbb5518714fcbd9ca24e
sha512=dafbdfbafe8b6fa77599a03ce98d3139dbe39831b3a34466cbb5fb4a3a48004f19184b12d426908f4d28d5751b3c6e41aa45188bddc0f5d956d66b7ba3e49178
Description
certify is a small selection of useful utilities for manipulating X509 certificates and public keys. It uses the mirleft organization's x509, tls, and nocrypto libraries.
Three subcommands to certify are provided:
certify csr: make a certificate signing requestcertify selfsign: make a self-signed certificatecertify sign: sign a certificate
README
About
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 buildThe 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 selfsignproduces a private key and self-signed certificatecertify signtakes a certificate signing request, and a CA (key and certificate), and produces a certificatecertify csrproduces a private key and a certificate signing request
Tests
Simple openssl interoperability tests are in tests/test.sh.