{"id":16792872,"url":"https://github.com/al-one/certbot-auth-dnspod","last_synced_at":"2025-03-17T03:30:45.802Z","repository":{"id":70343663,"uuid":"148292916","full_name":"al-one/certbot-auth-dnspod","owner":"al-one","description":"Certbot DNS Authenticator For DNSPod","archived":false,"fork":false,"pushed_at":"2021-01-04T13:17:25.000Z","size":6,"stargazers_count":95,"open_issues_count":2,"forks_count":30,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-24T18:12:55.484Z","etag":null,"topics":["certbot","certbot-dns-authenticator","dnspod","letsencrypt"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/al-one.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-09-11T09:26:17.000Z","updated_at":"2024-11-05T06:12:52.000Z","dependencies_parsed_at":"2023-05-13T07:15:30.963Z","dependency_job_id":null,"html_url":"https://github.com/al-one/certbot-auth-dnspod","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.46153846153846156","last_synced_commit":"75aca4beccdddc579caac5b2ac5ab838f59c1937"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Fcertbot-auth-dnspod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Fcertbot-auth-dnspod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Fcertbot-auth-dnspod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Fcertbot-auth-dnspod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/al-one","download_url":"https://codeload.github.com/al-one/certbot-auth-dnspod/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841204,"owners_count":20356441,"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":["certbot","certbot-dns-authenticator","dnspod","letsencrypt"],"created_at":"2024-10-13T08:47:28.408Z","updated_at":"2025-03-17T03:30:45.510Z","avatar_url":"https://github.com/al-one.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Certbot DNS Authenticator For DNSPod\n\n此脚本针对域名使用DNSPod解析，且certbot使用dns方式验证。如果在执行`certbot renew`时出现如下错误时，可以试试此脚本。\n\u003e Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration. The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',). Skipping.\n\n\n## Installing\n\n```sh\n$ wget https://raw.githubusercontent.com/al-one/certbot-auth-dnspod/master/certbot-auth-dnspod.sh\n$ chmod +x certbot-auth-dnspod.sh\n```\n\n## Config\n\n\u003e Get Your DNSPod Token From https://www.dnspod.cn/console/user/security\n\n\u003e Token Format: `ID,Token` See: https://www.dnspod.cn/docs/info.html#common-parameters\n\n```sh\n$ export DNSPOD_TOKEN=\"your dnspod token\"\n```\n\nor\n\n```sh\n$ echo \"your dnspod token\" \u003e /etc/dnspod_token\n```\n\nor\n\n```sh\n$ echo \"your dnspod token\" \u003e /etc/dnspod_token_$CERTBOT_DOMAIN\n# echo \"your dnspod token\" \u003e /etc/dnspod_token_laravel.run\n```\n\n\n## Usage\n\n```sh\n$ certbot certonly --manual --preferred-challenges dns-01 --email mail@domain.com -d laravel.run -d *.laravel.run --server https://acme-v02.api.letsencrypt.org/directory --manual-auth-hook /path/to/certbot-auth-dnspod.sh --manual-cleanup-hook \"/path/to/certbot-auth-dnspod.sh clean\"\n```\n\nor\n\n```sh\n$ certbot renew --manual-auth-hook /path/to/certbot-auth-dnspod.sh --manual-cleanup-hook \"/path/to/certbot-auth-dnspod.sh clean\"\n```\n\nor add crontab\n\n```crontab\n0 2 1 * * sh -c 'date \"+\\%Y-\\%m-\\%d \\%H:\\%M:\\%S\" \u0026\u0026 /usr/bin/certbot renew --manual-auth-hook /path/to/certbot-auth-dnspod.sh --manual-cleanup-hook \"/path/to/certbot-auth-dnspod.sh clean\"' \u003e\u003e /var/log/certbot-renew.log 2\u003e\u00261\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal-one%2Fcertbot-auth-dnspod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fal-one%2Fcertbot-auth-dnspod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal-one%2Fcertbot-auth-dnspod/lists"}