Skip to main content

get-acme-certs

Quick and dirty script to pull fullchain and privkey certs from the traefik acme.json file. Inspiration from https://gist.github.com/JayH5/f9e4dc48635f3faa63c52813ff6d115f

Tested in Python 3 only

Usage

python get_acme_certs.py /path/to/acme.json myawesomesite.com /path/to/store/certs
python get_acme_certs.py -h
usage: get_acme_certs.py [-h] acme_json domain dest_dir

Grab a certificate out of Traefik's acme.json file

positional arguments:
  acme_json   path to the acme.json file
  domain      domain to get certificate for
  dest_dir    path to the directory to store the certificate

optional arguments:
  -h, --help  show this help message and exit

Metadata

Release files for get-acme-certs 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for get-acme-certs 0.1.0
File Size Uploaded
get-acme-certs-0.1.0.tar.gz 3.0 kB Details

Release files / get-acme-certs-0.1.0.tar.gz

Download URL get-acme-certs-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1eb1acea846f0210014d29e99314aea325ae0f9251bd0d96aceeff3cbcd37f83
BLAKE2b-256 checksum
How to use checksums
cc8eeaee6181d5068b1993fd86c77fcb4e41182c350cf202f2d7a48dae1f717d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page