Skip to main content

Python Package for managing keys, request SSL certificates from ACME.

Project description

CertManager

CertManager 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 CertManager using pip:

pip install certapi

Example Usage

import json
from certmanager 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.1.0.tar.gz (15.2 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.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: certapi-0.1.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for certapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ae4cd6bb1ca3ad090c401f422ce1e6610dc3419de9b8f9cd7cbcfa1c9b3aa189
MD5 844c9f8774b90ce2bfcadbb8771f675e
BLAKE2b-256 ed9b92cea503bd97aa36f088134bcceb32feed060fb2f79072c3704ca51ad7d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: certapi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for certapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36c44f2fd7814a693ae756381662d932ba5919245ded0ac6c0fc875e47d62b9a
MD5 2241c98ddc7b159ecbea46c7a59f30b9
BLAKE2b-256 7a7ba8303bd97ae8455682adde61e76b2bb52814c69cd159aea57ad07f910fc7

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