--- id: pyopenssl version: "26.4.0" license: Apache License, Version 2.0 license_treatment: permissive maintenance: active --- # pyOpenSSL — Python wrapper module around the OpenSSL library License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pyopenssl uv add pyopenssl poetry add pyopenssl ## Description ======================================================== pyOpenSSL -- A Python wrapper around the OpenSSL library ======================================================== .. image:: https://readthedocs.org/projects/pyopenssl/badge/?version=stable :target: https://pyopenssl.org/en/stable/ :alt: Stable Docs .. image:: https://github.com/pyca/pyopenssl/workflows/CI/badge.svg?branch=main :target: https://github.com/pyca/pyopenssl/actions?query=workflow%3ACI+branch%3Amain **Note:** The Python Cryptographic Authority **strongly suggests** the use of `pyca/cryptography`_ where possible. If you are using pyOpenSSL for anything other than making a TLS connection **you should move to cryptography and drop your pyOpenSSL dependency**. High-level wrapper around a subset of the OpenSSL library. Includes * ``SSL.Connection`` objects, wrapping the methods of Python's portable sockets * Callbacks written in Python * Extensive error-handling mechanism, mirroring OpenSSL's error codes ... and much more. You can find more information in the documentation_. Development takes place on GitHub_. Discussion ========== If you run into bugs, you can file them in our `issue... ## AI interpretation — verify before relying pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling. The maintainers recommend using cryptography directly for non-TLS use cases. Verdict: Mature, actively maintained SSL/TLS wrapper with low install friction and no known vulnerabilities. However, the maintainers explicitly recommend migrating to cryptography for non-TLS use cases, so evaluate whether this package is the right fit for your specific needs before adopting it. [View on SkillFed](https://skillfed.io/packages/pyopenssl) · [View on PyPI](https://pypi.org/project/pyopenssl/)