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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

get-acme-certs-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file get-acme-certs-0.1.0.tar.gz.

File metadata

  • Download URL: get-acme-certs-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for get-acme-certs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1eb1acea846f0210014d29e99314aea325ae0f9251bd0d96aceeff3cbcd37f83
MD5 27fa0d81bca3199d64f08e4c7feea1e5
BLAKE2b-256 cc8eeaee6181d5068b1993fd86c77fcb4e41182c350cf202f2d7a48dae1f717d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page