package letsencrypt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

val initialise : ?ctx:Http.ctx -> endpoint:Uri.t -> ?email:string -> Nocrypto.Rsa.priv -> (t, [> `Msg of string ]) result Lwt.t

initialise ~ctx ~endpoint ~email priv constructs a t by looking up the directory and account of priv at endpoint. If no account is registered yet, a new account is created with contact information of email. The terms of service are agreed on.

val sign_certificate : ?ctx:Http.ctx -> solver -> t -> (int -> unit Lwt.t) -> X509.Signing_request.t -> (X509.Certificate.t list, [> `Msg of string ]) result Lwt.t

sign_certificate ~ctx solver t sleep csr orders a certificate for the names in the signing request csr, and solves the requested challenges.

OCaml

Innovation. Community. Security.