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 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


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.3.0.tar.gz (20.6 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.3.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for certapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e74003d79b8ca5651e6ea6ffeab3e89c6f069e05656f8cebb01d56461053f913
MD5 c91cd53b379983babe627ca91b6a48ea
BLAKE2b-256 ab5a1cc2ad254a40525e7c4f043afbbf698953237488b156418c80924d201958

See more details on using hashes here.

File details

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

File metadata

  • Download URL: certapi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96fdaa2b465cfa80f85e16645c73b0872ecdc55ef33c5a8a8517d48e975644d3
MD5 b1bc193252c41047756e47825dbc9124
BLAKE2b-256 b9f930ca80ab758882d146ded76517b575e4a9691b27ab4f95184348a981ac6e

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