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.1.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acmen-0.5.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acmen-0.5.1.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for acmen-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3f8c538844324aafa71991bc8ab011ac7b862668c0f7f3fef09ce0cafc269d39
MD5 11b831318b20ba5f356f1de25b463c1d
BLAKE2b-256 a8018ec2c46ef1b7f9a0d26d8a6ad56872c0391a6fff4934014d717925850a69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acmen-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for acmen-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39ddb7b94a125e0e988790a36c5f22ae7978fd9576c7dd6df0d163b8703c87c7
MD5 898bebe945fa55aa88feabca9175dfe3
BLAKE2b-256 50f6841865b886d2f2589165ae1ad0da09822a20846896f7106dd772b79ca37f

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