{"id":24170,"library":"openssl-ocsp-responder","title":"openssl-ocsp-responder","description":"Simple wrapper for OpenSSL OCSP server. Provides a command-line tool and library for running an OCSP responder using OpenSSL. Current version 1.0.1, last release Jan 2024. Low release cadence.","status":"active","version":"1.0.1","language":"python","source_language":"en","source_url":"https://github.com/eyalbrami1/openssl_ocsp_responder","tags":["ocsp","openssl","tls","certificate"],"install":[{"cmd":"pip install openssl-ocsp-responder","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"Requires OpenSSL binary on system PATH","package":"openssl","optional":false}],"imports":[{"note":"Correct import path","wrong":null,"symbol":"OCSPResponder","correct":"from openssl_ocsp_responder import OCSPResponder"}],"quickstart":{"code":"from openssl_ocsp_responder import OCSPResponder\n\nresponder = OCSPResponder(\n    ca_cert='ca.pem',\n    responder_cert='responder.crt',\n    responder_key='responder.key',\n    port=8080\n)\nresponder.serve_forever()","lang":"python","description":"Basic usage of OCSPResponder class to start OCSP responder on port 8080."},"warnings":[{"fix":"Install OpenSSL (e.g., via apt, brew, or choco) and ensure it's in PATH.","message":"The responder requires OpenSSL binary to be installed on the system and accessible via PATH. If not found, an exception will be raised.","severity":"gotcha","affected_versions":"all"},{"fix":"Test with the same OpenSSL version as production.","message":"The library uses subprocess to call 'openssl ocsp' command. The responder's behavior depends on the OpenSSL version installed.","severity":"gotcha","affected_versions":"all"},{"fix":"Pass responder_cert and responder_key directly to OCSPResponder.","message":"The function 'set_responder_cert' was deprecated in v1.0.0; use the constructor parameter instead.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install OpenSSL and ensure it's in PATH (e.g., on Ubuntu: sudo apt install openssl; on macOS: brew install openssl; on Windows: add to PATH).","cause":"OpenSSL binary not found in system PATH.","error":"FileNotFoundError: [Errno 2] No such file or directory: 'openssl'"},{"fix":"Upgrade to latest version (pip install --upgrade openssl-ocsp-responder) or use positional arguments as per older docs.","cause":"The library version is older than v1.0.0, constructor signature changed.","error":"TypeError: __init__() got an unexpected keyword argument 'responder_cert'"},{"fix":"Use a different port or kill the existing process using that port.","cause":"Port already occupied by another process.","error":"OSError: [Errno 98] Address already in use"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}