Skip to main content

Extract TLS Certificates from Traefik's acme.json file.

Project description

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

Project details


Release history Release notifications

This version

0.1.0

Download files

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

Files for get-acme-certs, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size get-acme-certs-0.1.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page