Skip to main content

An ACME(RFC8555) client implementation in Python.

Project description

AcmeN

AcmeN is an ACME(RFC8555) client implemented in Python.

Note: AcmeN is still under actively development, there will be some breaking changes until the first stable version v1.0.0 is released. Please keep an eye on the change log.

Quick Start

Install AcmeN using pip:

pip install acmen

Generate account key using openssl:

openssl ecparam -genkey -noout -name secp384r1 -out account.key

Create a python file named main.py as follows and modify necessary parameters:

import logging
from acmen import AcmeN
from acmen.handlers import CloudflareDnsHandler

logging.basicConfig(level=logging.INFO)
acme = AcmeN('account.key')
handler = CloudflareDnsHandler('<your_api_token>')
acme.register_account(contact=['mailto:you@your-mail-provider.tld'])
acme.get_cert_by_domain('example.com', ['www.example.com', 'alt1.example.com'], handler)

After a few seconds, you will get your certificate and key file in the working directory.

For more information, please refer to AcmeN docs.(Chinese Simplified)

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

acmen-0.5.0.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

acmen-0.5.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file acmen-0.5.0.tar.gz.

File metadata

  • Download URL: acmen-0.5.0.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for acmen-0.5.0.tar.gz
Algorithm Hash digest
SHA256 98fd522b7ebe90675701d127350b436ff093487395cc29c44af8e395762331ca
MD5 ed76665cb286202c1eec20455a90d0cd
BLAKE2b-256 c6a3b02b767c4ae019225197d329c629f9f21dce743bbf841fa879e0cbaa6025

See more details on using hashes here.

File details

Details for the file acmen-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: acmen-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for acmen-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b719e8455ea58a894ebecf90f0071ff9cc532d9668590d7a77ad2f1e64a09d9
MD5 0a786a4ed4a398dc3fafd74b7e4e6ea2
BLAKE2b-256 0cccd5b1ad9534f921c312cfaf38347b448efdef09e01e11df357fb26f6b6923

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page