certbot.ocsp¶
Tools for checking certificate revocation.
-
class
certbot.ocsp.RevocationChecker[source]¶ Bases:
objectThis class figures out OCSP checking on this system, and performs it.
-
ocsp_revoked(cert_path, chain_path)[source]¶ Get revoked status for a particular cert version.
Todo
Make this a non-blocking call
Parameters: - cert_path (str) – Path to certificate
- chain_path (str) – Path to intermediate cert
Rtype bool or None: Returns: True if revoked; False if valid or the check failed
-