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

Uploaded Python 3

File details

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

File metadata

  • Download URL: certapi-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b425da94f998a2a695576f3dbb508d65f460756faa3426cee20bd24f8607862f
MD5 ed26217ee54eca1ec8d575ad10bd78d6
BLAKE2b-256 6f7b1e9e5c329854ad907507a5e08a1bd7c98d360b688256704162dab90cc6b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: certapi-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f6ac4031dd635dd1af8f1f9e82f94c62de432cb48fdc4e9d625cb7a8a7907a
MD5 d4cb458c0704b92901b85564beab9761
BLAKE2b-256 0787ccd9a5fbea2e82b2750b42724bc31783a471382d798942fc4303f76e4392

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