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 supposed 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.2.5.tar.gz (20.4 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.2.5-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for certapi-0.2.5.tar.gz
Algorithm Hash digest
SHA256 81b576eb3b44104c079e6f40b33338040d124ed16c3077c2653339740726b71e
MD5 a14ee64518de1ec6a3176a843aac8487
BLAKE2b-256 24203ed91d56a35ca1ce26be3e0e9b3dfe6183e27584bd5042c1734d76f85e83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: certapi-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 04a255f4dfa6e4e55095f30d4b23ed85cd5440764ae307d43a17b2d978928ccd
MD5 4901be9079f48bc7a11871dc8405dbed
BLAKE2b-256 427ab02bcccdac438569b8abf05a95241109fb15b3157e3a3e835583ff9cb4c5

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