If you appreciate this project:
curl -sfL https://raw.githubusercontent.com/ldez/traefik-certs-dumper/master/godownloader.sh | bash -s -- -b $GOPATH/bin v1.5.0
You can use pre-compiled binaries:
traefik-certs-dumper in your PATH.docker run ldez/traefik-certs-dumper:<tag_name>
$ traefik-certs-dumper file
dump
├──certs
│ └──my.domain.com.key
└──private
├──my.domain.com.crt
└──letsencrypt.key
$ traefik-certs-dumper file --source ./acme.json --dest ./dump/test
test
├──certs
│ └──my.domain.com.key
└──private
├──my.domain.com.crt
└──letsencrypt.key
$ traefik-certs-dumper file --domain-subdir=true
dump
├──my.domain.com
│ ├──certificate.crt
│ └──privatekey.key
└──private
└──letsencrypt.key
$ traefik-certs-dumper file --domain-subdir --crt-ext=.pem --key-ext=.pem
dump
├──my.domain.com
│ ├──certificate.pem
│ └──privatekey.pem
└──private
└──letsencrypt.key
$ traefik-certs-dumper file --domain-subdir --crt-name=fullchain --key-name=privkey
dump
├──my.domain.com
│ ├──fullchain.crt
│ └──privkey.key
└──private
└──letsencrypt.key
$ traefik-certs-dumper kv consul --endpoints localhost:8500
$ traefik-certs-dumper kv etcd --endpoints localhost:2379
$ traefik-certs-dumper kv boltdb --endpoints /the/path/to/mydb.db
$ traefik-certs-dumper kv zookeeper --endpoints localhost:2181
Content type
Image
Digest
Size
12.5 MB
Last updated
about 7 years ago
docker pull mblaschke/traefik-certs-dumper