A very small utility for making self-signed certificates and private keys 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.
certify
depends on cmdliner
, x509
, and nocrypto
. To install these packages via opam:
opam install nocrypto x509 cmdliner
To install with opam:
opam pin add certify https://github.com/yomimono/ocaml-certify.git
opam install certify
Outside of opam:
git clone https://github.com/yomimono/ocaml-certify
cd ocaml-certify
./configure
make
make install
For help, try selfsign --help
, sign --help
, or csr --help
.
selfsign
produces a private key and self-signed certificatesign
takes a certificate signing request, and a CA (key and certificate), and produces a certificatecsr
produces a private key and a certificate signing request