From 59e1552915112144e24b052d7b842f5e52a493c9 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 15 Nov 2019 13:02:35 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 09cf644..843dfeb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ # acmetopem -Convert certificates from traefiks acme.json to PEM files. \ No newline at end of file +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 \ No newline at end of file