Python Package for managing keys, request SSL certificates from ACME.
Project description
CertApi
CertApi is a Python package for requesting SSL certificates from ACME. This is supposed to be used as a base library for building other tools, or to integrate Certificate creation feature in you app.
Installation
You can install CertApi using pip:
pip install certapi
Example Usage
import json
from certapi import FileSystemChallengeStore, FilesystemKeyStore, CertAuthority
key_store = FilesystemKeyStore("data")
challenge_store = FileSystemChallengeStore("./acme-challenges") # this should be where your web server hosts the .well-known/acme-challenges.
certAuthority = CertAuthority(challenge_store, key_store)
certAuthority.setup()
(response,_) = certAuthority.obtainCert("example.com")
json.dumps(response.__json__(),indent=2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file certapi-0.1.1.tar.gz.
File metadata
- Download URL: certapi-0.1.1.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c55d564be637da5003dc78ffbc3efd242ec2791ece7b2505262e0bfa97c572b
|
|
| MD5 |
c77775520ef89a380d3a2a90b911fb97
|
|
| BLAKE2b-256 |
2e1891e411f88953749c971d4b96aa5a413ebff554b1830ed6a8615e7ef20a04
|
File details
Details for the file certapi-0.1.1-py3-none-any.whl.
File metadata
- Download URL: certapi-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e87b9ccab100d3351f6b65f3273e8e890dba7808d458657670e56a73d8eeb003
|
|
| MD5 |
7479c806327808508dadf19d56a28dcb
|
|
| BLAKE2b-256 |
a62736f4a5883360a8ee5926f043c220c93d858a81fd53722940e48fa9348a1f
|