Certipy (version 0.2.2) is a Python utility designed to simplify the creation and signing of Certificate Authorities (CAs) and certificates on the fly. It wraps `pyOpenSSL` to manage certificate records, maintain signing hierarchies, and persist certificates to files. The project appears to be in a maintenance status, with its latest PyPI release in March 2025, though active development on GitHub seems to have slowed since early 2023.
pip install certipyVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize Certipy, create a root Certificate Authority, and then generate a signed certificate using that CA. It also includes cleanup for the temporary certificate store directory.
Always verify the GitHub repository and PyPI project page (github.com/LLNL/certipy for this library) before installation to confirm you have the intended project. For AD CS related tasks, you likely want `pip install certipy-ad` instead.
Check the `setup.py` of the `certipy` GitHub repository for the exact `pyOpenSSL` and `cryptography` version requirements. As of version 0.2.2, it requires `pyOpenSSL>=23.0.0` and `cryptography>=39.0.0`.
Install the package using pip: `pip install certipy`.
Verify that you have installed the correct `certipy` library (`pip show certipy`) and that there isn't a local file or directory named `certipy.py` or `certipy/` in your project path that could be causing a name collision. The correct import is `from certipy import Certipy` for the LLNL project.