Sign inSign up

zzeneg/traefik-export-cert

By zzeneg

•Updated about 5 years ago

Export SSL certificates from traefik acme.json

Image
0

1.1K

zzeneg/traefik-export-cert repository overview

⁠traefik-export-cert

Export SSL certificates generated by Traefik⁠ to cert/key files.

Source code on GitHub⁠

⁠Features

  • export certificate from Traefik's acme.json
  • watches for acme.json changes and updates certificates automatically

⁠Usage

⁠Environment variables:
  • RESOLVER - name of the resolver used in Traefik config, e.g. value of traefik.http.routers.traefik.tls.certresolver
  • DOMAIN - main domain name used in Traefik config, e.g. value of traefik.http.routers.traefik.tls.domains[0].main
⁠Volumes
  • /acme.json - must be mounted from Traefik's acme.json
  • /export - folder with exported certificate
⁠docker-compose example
traefik-export-cert:
  container_name: traefik-export-cert
  image: zzeneg/traefik-export-cert
  restart: unless-stopped
  environment:
    RESOLVER: le
    DOMAIN: mydomain.com
  volumes:
    - ./traefik/acme.json:/acme.json:ro
    - ./traefik-export-cert:/export

Tag summary

Content type

Image

Digest

Size

3.9 MB

Last updated

about 5 years ago

docker pull zzeneg/traefik-export-cert