Convert certificates from traefiks acme.json to PEM files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chris 78d537aa08 fix logic oops 1 year ago
.gitignore Initial commit 1 year ago
Dockerfile add dockerfile 1 year ago
LICENSE Initial commit 1 year ago
README.md Update 'README.md' 1 year ago
acmetopem.py fix logic oops 1 year ago

README.md

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