{"id":13930021,"url":"https://github.com/pirsch-analytics/hetzner-lb-acmedns","last_synced_at":"2025-07-19T12:31:21.701Z","repository":{"id":64306048,"uuid":"342885253","full_name":"pirsch-analytics/hetzner-lb-acmedns","owner":"pirsch-analytics","description":"A service to automatically update Letsencrypt SSL certificates on the Hetzner load-balancer using joohoi/acme-dns.","archived":true,"fork":false,"pushed_at":"2021-02-28T14:18:27.000Z","size":40,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-26T19:36:44.173Z","etag":null,"topics":["acme-dns","certificate","hetzner","hetzner-cloud","letsencrypt","load-balancer"],"latest_commit_sha":null,"homepage":"","language":"Go","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/pirsch-analytics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-27T15:09:47.000Z","updated_at":"2023-01-28T09:30:37.000Z","dependencies_parsed_at":"2023-01-15T10:45:18.172Z","dependency_job_id":null,"html_url":"https://github.com/pirsch-analytics/hetzner-lb-acmedns","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pirsch-analytics/hetzner-lb-acmedns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirsch-analytics%2Fhetzner-lb-acmedns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirsch-analytics%2Fhetzner-lb-acmedns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirsch-analytics%2Fhetzner-lb-acmedns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirsch-analytics%2Fhetzner-lb-acmedns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirsch-analytics","download_url":"https://codeload.github.com/pirsch-analytics/hetzner-lb-acmedns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirsch-analytics%2Fhetzner-lb-acmedns/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265934185,"owners_count":23852086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["acme-dns","certificate","hetzner","hetzner-cloud","letsencrypt","load-balancer"],"created_at":"2024-08-07T18:02:41.035Z","updated_at":"2025-07-19T12:31:21.471Z","avatar_url":"https://github.com/pirsch-analytics.png","language":"Go","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# Hetzner Load Balancer ACME-DNS\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/pirsch-analytics/hetzner-lb-acmedns)](https://goreportcard.com/report/github.com/pirsch-analytics/hetzner-lb-acmedns)\n\u003ca href=\"https://discord.gg/fAYm4Cz\"\u003e\u003cimg src=\"https://img.shields.io/discord/739184135649886288?logo=discord\" alt=\"Chat on Discord\"\u003e\u003c/a\u003e\n\nA service to automatically update Letsencrypt SSL certificates on the Hetzner load-balancer using [joohoi/acme-dns](https://github.com/joohoi/acme-dns).\n\n## Installation\n\nPlease see the [docker-compose.yml](docker-compose.yml) for reference. Before you can start using the service, you need to have created a project on Hetzner cloud, an API token, as well as a acme-dns server. You can then configure it using the following environment variables:\n\n| Variable | Description |\n| - | - |\n| HLBA_LOG_LEVEL | debug, info |\n| HLBA_CA_URL | The URL to your CA. `https://acme-staging-v02.api.letsencrypt.org/directory` for Letsencrypt staging for example. |\n| HLBA_ACMEDNS_URL | The URL to your acme-dns server. `https://auth.example.com/` for example. |\n| HLBA_HETZNER_API_TOKEN | Your Hetzner API token (with write access). |\n\nMake sure you mount the `data` directory, as it is required for configuring certificate requests and configuration files created by the server.\n\n## Usage\n\nTo configure certificate requests, create a file called `cert-requests.json` inside the `data` directory.\n\n```json\n[\n    {\n        \"email\": \"john@doe.com\",\n        \"acmedns\": {\n            \"username\": \"\",\n            \"password\": \"\",\n            \"full_domain\": \"\",\n            \"sub_domain\": \"\",\n            \"domains\": [\"example.com\", \"*.example.com\"]\n        },\n        \"hetzner\": {\n            \"name\": \"test-cert\",\n            \"labels\": {\"foo\": \"bar\"},\n            \"lb_name\": \"test-lb\",\n            \"lb_port\": 443\n        }\n    },\n    # ...\n]\n```\n\nNote that you have to create an acme-dns user before you can start using this service. Enter the details for each certificate/load-balancer you would like to update. The `labels` option for the certificate in the `hetzner` section is optional. The certificates will be automatically updated once a day and on startup if required (after two months).\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirsch-analytics%2Fhetzner-lb-acmedns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirsch-analytics%2Fhetzner-lb-acmedns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirsch-analytics%2Fhetzner-lb-acmedns/lists"}