package certify

  1. Overview
  2. Docs
CLI utilities for simple X509 certificate manipulation

Install

Dune Dependency

Authors

Maintainers

Sources

certify-v0.3.0.tbz
sha256=67b0bb89be2fe42c0901ad18f8cd7d78cb7cc54ad7391054fa0f521e9940bd35
sha512=e7b4ee48330e03f2a83019f54244ec467649c3c69c836892f36a53e1249fe809787cf43681b0e9c2cb2066805d53aaf82ac26cd58251100461a203da6e08d1aa

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 request
  • certify selfsign: make a self-signed certificate
  • certify sign: sign a certificate

Tags

org:mirage

Published: 29 Jul 2019

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 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.

Dependencies (7)

  1. cmdliner >= "1.0.0"
  2. ocaml >= "4.04.2"
  3. ptime
  4. cstruct >= "3.2.0"
  5. x509 = "0.7.0"
  6. nocrypto >= "0.5.4"
  7. dune >= "1.0"

Dev Dependencies (1)

  1. conf-openssl with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.