certbot.ocsp¶
Tools for checking certificate revocation.
-
class
certbot.ocsp.RevocationChecker(enforce_openssl_binary_usage=False)[source]¶ Bases:
objectThis class figures out OCSP checking on this system, and performs it.
-
certbot.ocsp._determine_ocsp_server(cert_path)[source]¶ Extract the OCSP server host from a certificate.
Parameters: cert_path (str) -- Path to the cert we're checking OCSP for Rtype tuple: Returns: (OCSP server URL or None, OCSP server host or None)
-
certbot.ocsp._check_ocsp_response(response_ocsp, request_ocsp, issuer_cert)[source]¶ Verify that the OCSP is valid for serveral criterias