Skip to main content

Module zerossl

Module zerossl 

Source
Expand description

ZeroSSL issuer.

ZeroSSL’s ACME endpoint requires External Account Binding; the EAB credentials are derived from a ZeroSSL API key via their REST API. This module wires that exchange into a preconfigured AcmeIssuer.

Structs§

ZeroSslApiIssuer
ZeroSSL’s REST API issuer.
ZeroSslIssuer
A ZeroSSL-backed issuer: an AcmeIssuer bound to the ZeroSSL ACME endpoint with API-key-derived EAB.
ZeroSslIssuerBuilder
Builder for the ACME/EAB-based ZeroSslIssuer.

Constants§

EAB_CREDENTIALS_URL
EAB credentials endpoint.
ZEROSSL_HTTP_VALIDATION_PREFIX
ZeroSSL’s non-standard HTTP validation path prefix.
ZEROSSL_PRODUCTION_CA
ZeroSSL production ACME directory.
ZEROSSL_REST_API_BASE
ZeroSSL REST API base URL.

Functions§

handle_zerossl_http_validation
Answer a ZeroSSL file-validation request when the caller supplies the validation URL and token obtained from its provider API. This keeps the core path framework-neutral and avoids a global mutable validation map.
looks_like_zerossl_http_validation
Whether an HTTP request is a ZeroSSL/Sectigo file-validation request.
zerossl_issuer_with_eab
Convenience: build a ZeroSSL issuer synchronously when the EAB credentials are already known (e.g. cached in storage).