ocspresponder
RFC 6960 compliant OCSP Responder framework written in Python 3.5+.
What it is and what it does
ocspresponder is a framework for building RFC 6960 compliant OCSP (Online Certificate Status Protocol) responders in Python. It provides a simple HTTP server that answers certificate status queries, allowing clients to check whether SSL/TLS certificates are valid, revoked, or unknown without downloading full certificate revocation lists.
The framework requires you to implement two custom functions: one that determines a certificate's status (good, revoked, or unknown) given its serial number, and another that retrieves the certificate itself. You supply the issuer's certificate and a dedicated OCSP responder keypair, then instantiate the OCSPResponder and call serve() to launch an HTTP server. The package currently supports the Nonce extension but does not yet handle multiple certificates per request.
Use it for:
- Building a certificate status service for a private PKI or internal CA infrastructure.
- Implementing OCSP responder functionality for testing SSL/TLS certificate validation workflows.
- Serving certificate revocation status to clients that require real-time validation instead of CRL downloads.
- Integrating certificate status checking into a custom certificate management system.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Implements an RFC 6960 compliant OCSP Responder framework for validating certificate status over HTTP, using custom Python functions to determine certificate revocation state and retrieve certificates.
No. The package is abandoned (no releases since 2016, marked as Alpha status) and explicitly states 'Don't use for production yet.' While install friction is low and the license is permissive, the lack of maintenance, undeclared dependencies, and unresolved production-readiness issues make it unsuitable for any deployment. Use only for learning or historical reference.
Install
ocspresponder on PyPI
pip
pip install ocspresponderuv
uv add ocspresponderpoetry
poetry add ocspresponderInstalling ocspresponder
Before you install
Low install friction with no runtime dependencies. However, the package is marked as abandoned with no releases since 2016 and no recent maintenance activity, making it unsuitable for production use.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions, though the abandoned status raises questions about long-term support.
Quickstart
from ocspresponder import OCSPResponder, CertificateStatus
app = OCSPResponder(
issuer_cert_path,
ocsp_cert_path,
ocsp_key_path,
validate_func=validate,
cert_retrieve_func=get_cert,
)
app.serve(port=8080, debug=True)
Requires Python 3.5+ and depends on ocspbuilder, asn1crypto, and Bottle libraries (not listed as explicit runtime deps in this package).
Verify before relying
- Whether ocspbuilder, asn1crypto, and Bottle are correctly declared as runtime dependencies in the package metadata.
- Current compatibility with modern Python versions beyond 3.5.
- Whether the Nonce extension implementation (RFC 6960 Section 4.4.1) is complete and correct.
- Security implications of using an unmaintained OCSP responder in production environments.
Package facts
| License | Apache Software License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,756 days since the last release |
| First released | |
| Downloads | 1,869,351/month — #3,475 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ocspresponder-0.5.0-py3-none-any.whl
Keywords: ocsp, responder, server, ssl, tls, pki
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
openssl-ocsp-responderWraps OpenSSL's command-line OCSP responder to…
permissive · top 15,000 on PyPI
certvalidatorValidates X.509 certificates and certificate…
permissive · top 15,000 on PyPI
ocspbuilderocspbuilder creates and signs OCSP requests and…
permissive · top 5,000 on PyPI
pyhanko-certvalidatorValidates X.509 certificate paths with support…
permissive · top 5,000 on PyPI
asn1cryptoA pure Python library for parsing and…
permissive · top 1,000 on PyPI
service-identityVerifies that cryptography or pyOpenSSL…
permissive · top 5,000 on PyPI
secure-smtplibProvides secure SMTP subclasses with TLS/SSL…
unclear · top 15,000 on PyPI
certifiCertifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
oscryptooscrypto provides TLS sockets, key generation,…
permissive · top 1,000 on PyPI
requests-pkcs12Adds PKCS#12 certificate support to the…
permissive · top 5,000 on PyPI