Convert certificates from traefiks acme.json to PEM files.
Find a file
2019-11-15 13:02:35 +00:00
.gitignore Initial commit 2019-11-15 12:48:49 +00:00
acmetopem.py init 2019-11-15 13:50:08 +01:00
Dockerfile add dockerfile 2019-11-15 13:57:19 +01:00
LICENSE Initial commit 2019-11-15 12:48:49 +00:00
README.md Update 'README.md' 2019-11-15 13:02:35 +00:00

acmetopem

Convert certificates from traefiks acme.json to PEM files.

usage

run acmetopem.py with the main hostname for the certificate to get, e.g.

python3 ./acmetopem.py eddf.cloud.zknt.org

Optionally set the json filename in envs ACME_FILENAME (default ./acme.json) and the configured store name in ACME_STORE (default leprod)

dockered

docker run -v dmz_acme:/data:ro -e ACME_FILENAME=/data/acme.json -e ACME_STORE=leprod reg.zknt.org/zknt/acmetopem eddf.cloud.zknt.org > eddf.pem