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/

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.4.2.tar.gz (27.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.4.2-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: certapi-0.4.2.tar.gz
  • Upload date:
  • Size: 27.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.4.2.tar.gz
Algorithm Hash digest
SHA256 338344bd8f421ba4f1b3af9fe5c721f6e18cb41b0664bcb0bafb984be2f3e69c
MD5 dc8adc0909c6a8e8687c44c7f1729293
BLAKE2b-256 73468de1f585751fc3cfb4b9554c19983f0c4360f2dd69d4a6e778dd52efb940

See more details on using hashes here.

File details

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

File metadata

  • Download URL: certapi-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 41.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 592918858ec083f98cd6116c2b3a221a42421c635e2aefa13edf2f8d52ad665e
MD5 606f2c7ddcb61eac0d04b5f32ae3d891
BLAKE2b-256 07d5e5e4694070c289ce82ac82ce19d1eb9e1b05ef9b58b53eea098f16f8653d

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