Skip to content

A small utility which monitors a traefik-managed acme.json and extracts the plain certificate-files from it.

License

Notifications You must be signed in to change notification settings

MaZderMind/traefik-certificate-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

traefik-certificate-extractor

This Repository is unmaintained and does not work with recent Versions of Traefik anymore. Please use the Fork at https://github.com/sbruder/traefik-certificate-extractor/ which fixes this and some other issues.





A small utility which monitors a traefik-managed acme.json and extracts the plain certificate-files from it.

For each domain and it extracts

  • fullchain (cert + intermediate)
  • privkey (private key)
  • all (private key + cert + intermediate)
  • url (url of the certificate at the CA)

For SANs it creates symlinks to the main domain's files.

It can be used in one-shot mode or in watch-mode, monitoring changes to the acme.json. The tool creates and writes files but never removes old files or directories.

Usage of ./traefik-certificate-extractor:
  -acmejson string
    	path of the acme.json-file
  -target string
    	directory where the certificates should be extracted to
  -watch
    	should the extractor-tool keep watching the acme.json-file and rewrite the certificates

Docker-Container

https://hub.docker.com/r/mazdermind/traefik-certificate-extractor/

Expects acme.json in /var/acmejson/acme.json, writes certs to /var/acmejson/certs/

About

A small utility which monitors a traefik-managed acme.json and extracts the plain certificate-files from it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published