{"id":13584576,"url":"https://github.com/horjulf/docker-certbot_cloudflare","last_synced_at":"2026-04-02T02:07:04.154Z","repository":{"id":82374621,"uuid":"107258160","full_name":"horjulf/docker-certbot_cloudflare","owner":"horjulf","description":"Docker image providing certbot with Cloudflare plugin","archived":false,"fork":false,"pushed_at":"2017-10-19T12:11:37.000Z","size":2,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T14:15:13.400Z","etag":null,"topics":["certbot","certificate","cloudflare","docker","letsencrypt"],"latest_commit_sha":null,"homepage":null,"language":null,"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/horjulf.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}},"created_at":"2017-10-17T11:18:16.000Z","updated_at":"2023-06-09T23:07:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a68a389d-42c7-45c5-89f4-3c9977d113c8","html_url":"https://github.com/horjulf/docker-certbot_cloudflare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/horjulf/docker-certbot_cloudflare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horjulf%2Fdocker-certbot_cloudflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horjulf%2Fdocker-certbot_cloudflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horjulf%2Fdocker-certbot_cloudflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horjulf%2Fdocker-certbot_cloudflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horjulf","download_url":"https://codeload.github.com/horjulf/docker-certbot_cloudflare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horjulf%2Fdocker-certbot_cloudflare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["certbot","certificate","cloudflare","docker","letsencrypt"],"created_at":"2024-08-01T15:04:21.035Z","updated_at":"2026-04-02T02:07:04.134Z","avatar_url":"https://github.com/horjulf.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Certbot Cloudflare\n[![GitHub forks](https://img.shields.io/github/forks/horjulf/docker-certbot_cloudflare.svg?style=social\u0026label=Fork\u0026style=flat-square)](https://github.com/horjulf/docker-certbot_cloudflare)\n[![Docker Pulls](https://img.shields.io/docker/pulls/horjulf/certbot-cloudflare.svg)](https://hub.docker.com/r/horjulf/certbot-cloudflare/)\n[![](https://images.microbadger.com/badges/image/horjulf/certbot-cloudflare.svg)](https://microbadger.com/images/horjulf/certbot-cloudflare)\n\nThis image provides the official Certbot utility with the Cloudflare DNS plugin builtin.\n\n## Usage\n\n- Create local directories where lets encrypt files(keys, certs, renewal config, etc) and logs will be stored.\n\n- Create a .ini file with Cloudflare API credentials:\n```\ndns_cloudflare_email=\u003ccloudflare_email\u003e\ndns_cloudflare_api_key=\u003ccloudflare_api_key\u003e\n```\n\n- Run/create the container with the added volumes and the certbot arguments:\n```\ndocker run --interactive --tty \\\n-v \u003c/path/to/letsencrypt_files\u003e:/etc/letsencrypt \\\n-v \u003c/path/to/letsencrypt_logs\u003e:/var/log/letsencrypt \\\n-v \u003c/path/to/cloudflare_creds\u003e:/etc/cloudflare.ini:ro \\\nhorjulf/certbot-cloudflare \\\n\u003ccertbot_args\u003e\n```\n\n### Examples\n\n- Request a certificate:\n```\ndocker run --interactive --tty \\\n-v \u003c/path/to/letsencrypt_files\u003e:/etc/letsencrypt \\\n-v \u003c/path/to/letsencrypt_logs\u003e:/var/log/letsencrypt \\\n-v \u003c/path/to/cloudflare_creds\u003e:/etc/cloudflare.ini:ro \\\nhorjulf/certbot-cloudflare \\\ncertonly --dns-cloudflare --dns-cloudflare-credentials /etc/cloudflare.ini -m \u003cadmin_email@example.domain\u003e --agree-tos --no-eff-email -d \u003cexample.domain\u003e\n```\n\n- Renew existing certificates:\n```\ndocker run --interactive --tty \\\n-v \u003c/path/to/letsencrypt_files\u003e:/etc/letsencrypt \\\n-v \u003c/path/to/letsencrypt_logs\u003e:/var/log/letsencrypt \\\n-v \u003c/path/to/cloudflare_creds\u003e:/etc/cloudflare.ini:ro \\\nhorjulf/certbot-cloudflare \\\nrenew --dns-cloudflare-credentials /etc/cloudflare.ini\n```\n\n- Cron usable container for renewal:\n```\ndocker create \\\n--name=certbot_cloudflare_renew\n-v \u003c/path/to/letsencrypt_files\u003e:/etc/letsencrypt \\\n-v \u003c/path/to/letsencrypt_logs\u003e:/var/log/letsencrypt \\\n-v \u003c/path/to/cloudflare_creds\u003e:/etc/cloudflare.ini:ro \\\nhorjulf/certbot-cloudflare \\\nrenew --dns-cloudflare-credentials /etc/cloudflare.ini --quiet\n```\n```\ndocker start -a certbot_cloudflare_renew\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorjulf%2Fdocker-certbot_cloudflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorjulf%2Fdocker-certbot_cloudflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorjulf%2Fdocker-certbot_cloudflare/lists"}