dump the Lets Encrypt certs that Traefik stores in acme.json - to .crt, .key and .pem
Clone or download
SvenDowideit fixes
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Latest commit 1ce58f0 Nov 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore initial version Nov 13, 2018
Dockerfile initial version Nov 13, 2018
LICENSE Initial commit Nov 13, 2018
README.md initial version Nov 13, 2018
run.sh fixes Nov 13, 2018

README.md

traefik-certdumper

dump the Lets Encrypt certs that Traefik stores in acme.json - to .crt, .key and .pem

pretty much to solve https://github.com/containous/traefik/issues/2418 using @flesser's compose-file script and https://github.com/containous/traefik/blob/master/contrib/scripts/dumpcerts.sh with a few little mods

I use Docker Swarm, so my additional compose file service is:

  # Watch acme.json and dump certificates to files
  # https://github.com/containous/traefik/issues/2418#issuecomment-369225856
  certdumper:
    image: svendowideit/traefik-certdumper:latest
    volumes:
      - traefikdata:/traefik
    deploy:
      mode: replicated
      replicas: 1