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.

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.1.tar.gz (18.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.2.1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: certapi-0.2.1.tar.gz
  • Upload date:
  • Size: 18.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.2.1.tar.gz
Algorithm Hash digest
SHA256 3b10bdd40c5a407f8f9c2addebbacd9a88e768caad576223bdd20b6cfbc7fcaf
MD5 e19369eb95d92dbd3946d68d71f8e31d
BLAKE2b-256 22a6838d2c9f09c4863a7ec7c32facdad068e018f4983a13592ba6d3c7292708

See more details on using hashes here.

File details

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

File metadata

  • Download URL: certapi-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 22.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36925d2b3d6811a1eedf8e9ac7c934e10b7bfe2d935a978ec41e934d2f107792
MD5 35784d3f2a36b0716d0880c7b416e56f
BLAKE2b-256 f0c007f660ecbb4d80e2ff74145120d7ef65deef4a6175568ba756366fade49c

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