Skip to main content

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 to be used as a base library for building other tools, or to integrate Certificate creation feature in you app.

⚠️ Warning: This project is not polished for production use. Please stay tuned for the LTS v1.0.0 release.

Installation

You can install CertApi using pip:

pip install certapi

Example Usage

import json
from certapi import FileSystemChallengeSolver, FilesystemKeyStore, CertAuthority

key_store = FilesystemKeyStore("data")
challenge_solver = FileSystemChallengeSolver("./acme-challenges")  # this should be where your web server hosts the .well-known/

certAuthority = CertAuthority(challenge_solver, key_store)
certAuthority.setup()

(response,_) = certAuthority.obtainCert("example.com")

json.dumps(response.__json__(),indent=2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certapi-0.4.3.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

certapi-0.4.3-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

Details for the file certapi-0.4.3.tar.gz.

File metadata

  • Download URL: certapi-0.4.3.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for certapi-0.4.3.tar.gz
Algorithm Hash digest
SHA256 f1e6866efbda381bc726d88e310a1afd481d156c2c0c1c9897f9b1f571ea547e
MD5 b4ebad1d6b26d9f1afd235c8d17e2823
BLAKE2b-256 58c9c0299489f66c248bcafbef01de9885fffbf01dbc095b081eea0a435f568c

See more details on using hashes here.

File details

Details for the file certapi-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: certapi-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 42.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for certapi-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e67d6c0bd49dbbca73f6595f0537f12c91d7a5ef4a12c6825c0254ba1e9bdb43
MD5 a1c9d6dac9a2add91009b579b04f5df3
BLAKE2b-256 5bf088969d91576a9130f20bd806d8b5d5bf56da0325e8b8659fa19b3e135f50

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page