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.2.8.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.2.8-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: certapi-0.2.8.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.2.8.tar.gz
Algorithm Hash digest
SHA256 4bf9e45f246be093a70a096433355c19747e6802e2ac0d99df09ebe8eb0112fa
MD5 bf83968fee2fc746151b2c8a9b0a3326
BLAKE2b-256 be3dd8085a84abea641183ea7386c464c2033308454594ea7deec10c70788296

See more details on using hashes here.

File details

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

File metadata

  • Download URL: certapi-0.2.8-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.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5c105e8d8b466f8d208bfb739ccb77b5fcc0b3479f85c864486da36101b578b6
MD5 27a4d273b4d0c568c331b157a27586ed
BLAKE2b-256 f0e9b3f3e14edeaa6c3fccc08385b53c8fae9aaeac00acb3eebe2f704ee88a6b

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