Module utils
Available on crate feature
boring only.Expand description
Server Utilities
Generic certificate generation (self-signed CA/leaf + MITM mirroring) lives
in rama_crypto::cert::boring
Enums§
- Mitm
Leaf Ocsp Status - Status to assert for the certificate.
Functions§
- answer_
ocsp_ request - Answer an OCSP
request_derfor a leaf issued byissuer, echoing the request’sCertIDand nonce so the client binds the response to its request.status_formaps the requested serial to its status, so the same revocation state that drives the CRL also drives OCSP. Only the first requestedCertIDis answered (TLS clients query a single leaf). - build_
mitm_ ca_ crl - Build a DER
CertificateListfor the MITM CA (ca_cert+ca_key). - build_
mitm_ leaf_ ocsp_ response - Build a DER-encoded OCSP response for
leaf, signed by the MITM CA (issuer+issuer_key), ready forSslRef::set_ocsp_status.