{"id":15141809,"url":"https://github.com/ahuahuachi/traefik-cert-exporter","last_synced_at":"2026-02-06T04:02:48.027Z","repository":{"id":247155679,"uuid":"822014413","full_name":"Ahuahuachi/traefik-cert-exporter","owner":"Ahuahuachi","description":"CLI and python library to export Traefik SSL certificates","archived":false,"fork":false,"pushed_at":"2024-07-11T02:28:01.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-25T12:38:40.206Z","etag":null,"topics":["certificate","cli","docker","docker-compose","docker-image","export","python","ssl","traefik"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ahuahuachi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-30T04:23:33.000Z","updated_at":"2024-07-11T02:28:04.000Z","dependencies_parsed_at":"2024-07-11T03:55:25.992Z","dependency_job_id":null,"html_url":"https://github.com/Ahuahuachi/traefik-cert-exporter","commit_stats":null,"previous_names":["ahuahuachi/traefik-cert-exporter"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Ahuahuachi/traefik-cert-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahuahuachi%2Ftraefik-cert-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahuahuachi%2Ftraefik-cert-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahuahuachi%2Ftraefik-cert-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahuahuachi%2Ftraefik-cert-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ahuahuachi","download_url":"https://codeload.github.com/Ahuahuachi/traefik-cert-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahuahuachi%2Ftraefik-cert-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29149594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["certificate","cli","docker","docker-compose","docker-image","export","python","ssl","traefik"],"created_at":"2024-09-26T09:02:12.856Z","updated_at":"2026-02-06T04:02:48.008Z","avatar_url":"https://github.com/Ahuahuachi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![license](https://badgen.net/github/license/ahuahuachi/traefik-cert-exporter/)\n![releases](https://badgen.net/github/releases/ahuahuachi/traefik-cert-exporter/?icon=github)\n![stars](https://badgen.net/github/stars/ahuahuachi/traefik-cert-exporter/?icon=github)\n![docker stars](https://badgen.net/docker/stars/ahuahuachi/traefik-cert-exporter/?icon=docker)\n![docker pulls](https://badgen.net/docker/pulls/ahuahuachi/traefik-cert-exporter/?icon=docker)\n![docker size](https://badgen.net/docker/size/ahuahuachi/traefik-cert-exporter/?icon=docker)\n![pypi version](https://badgen.net/pypi/v/traefik-cert-exporter/?icon=pypi)\n![python versions](https://badgen.net/pypi/python/traefik-cert-exporter/?icon=pypi)\n![python downloads](https://badgen.net/pypi/dm/traefik-cert-exporter/?icon=pypi)\n\n# Traefik Cert Exporter\n\nCLI and python library to export [Traefik](https://traefik.io/traefik/) SSL certificates.\n\nThis project is intended to provide tools to automate the process of extracting the certificates generated by [Traefik's automatic certificate generation](https://doc.traefik.io/traefik/https/acme)\n\n\u003csub\u003eProject based on the excelent work on [Traefik SSL Certificate Exporter](https://github.com/rafi0101/traefik-ssl-certificate-exporter)\u003c/sub\u003e\n\n## Python library\n\nYou can use the python library on your own automation scripts\n\n### Installation\n\n```bash\npip install traefik-cert-exporter\n```\n\n### Usage\n\n```python\nfrom traefik_cert_exporter import export_certificates\n\nacme_file = \"./acme.json\"\noutput_dir = \"./certs\"\n\nexport_certificates(acme_file, output_dir)\n```\n\n## CLI\n\nYou can use the included CLI directly from the terminal\n\n### Installation\n\n```bash\npip install traefik-cert-exporter\n```\n\n### Usage\n\n```bash\nexport-certs ./acme.json ./certs\n```\n\n## Docker\n\nThere is also a Docker image that create a cron job that runs the certificate export process on a schedule.\n\nThe container needs to have access to the store file generated by Traefik, so it needs to be configured with the correct variables to run successfully.\n\nYou can use the docker compose example to create your own environment.\n\nimage: https://hub.docker.com/r/ahuahuachi/traefik-cert-exporter\n\n### Environment Variables\n\n| Variable      | Default value       | Description                                       |\n| ------------- | ------------------- | ------------------------------------------------- |\n| CRON_SCHEDULE | `0 0 1 * *`         | Cron schedule to run the extraction script        |\n| STORAGE_FILE  | `traefik/acme.json` | Path to the acme storage file                     |\n| OUTPUT_PATH   | `certs/`            | Path where the certs are going to be extracted to |\n| ON_START      | `1` (true)          | Run export scripts once when container starts     |\n\n### Docker compose example\n\nTraefik's static configuration file\n\n```yaml\n# static.yaml\ncertificatesResolvers:\n  myresolver:\n    acme:\n      storage: \"/config/acme.json\"\n      ...\n```\n\n```yaml\n# docker-compose.yaml\nversion: \"3\"\n\nservices:\n  cert-exporter:\n    image: ahuahuachi/traefik-cert-exporter:latest\n    environment:\n      - STORAGE_FILE=\"/config/acme.json\"\n      - OUTPUT_PATH=\"/certs\"\n    volumes:\n      - traefik-config:/config/\n      - ./certs:/certs\n\n  traefik:\n    image: traefik:latest\n    volumes:\n      - traefik-config:/config/\n    ...\n\nvolumes:\n  traefik-config:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahuahuachi%2Ftraefik-cert-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahuahuachi%2Ftraefik-cert-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahuahuachi%2Ftraefik-cert-exporter/lists"}