package dns-certify
MirageOS let's encrypt certificate retrieval
Install
Dune Dependency
Authors
Maintainers
Sources
dns-v4.4.1.tbz
sha256=c8b2a49485c7a1bed06c3be47c80c6e865728e3f6658407e179bc5099c4c80a1
sha512=f9997cf9bbe4705ff9d49b3b69300cf5eec12c79bec68e32e20c0356e10fb9e7a150b08e627e429d2eaaf35befcdbabc738dff8535a763e7c57d825d006e21ea
doc/dns-certify.mirage/Dns_certify_mirage/Make/index.html
Module Dns_certify_mirage.Make
Source
Parameters
module R : Mirage_random.S
module P : Mirage_clock.PCLOCK
module T : Mirage_time.S
module S : Mirage_stack.V4
Signature
Source
val retrieve_certificate :
S.t ->
dns_key:string ->
hostname:[ `host ] Domain_name.t ->
?additional_hostnames:[ `host ] Domain_name.t list ->
?key_seed:string ->
S.TCPV4.ipaddr ->
int ->
(Tls.Config.own_cert, [ `Msg of string ]) result Lwt.t
retrieve_certificate stack ~dns_key ~hostname ~key_seed server_ip port
generates a RSA private key (using the key_seed
), a certificate signing request for the given hostname
and additional_hostnames
, and sends server_ip
an nsupdate (DNS-TSIG with dns_key
) with the csr as TLSA record, awaiting for a matching certificate as TLSA record. Requires a service that interacts with let's encrypt to transform the CSR into a signed certificate. If something fails, an exception (via Lwt.fail
) is raised. This is meant for unikernels that require a valid TLS certificate before they can start their service (i.e. most web servers, mail servers).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page