{"id":37157716,"url":"https://github.com/tuotoo/qiniu-auto-cert","last_synced_at":"2026-01-14T18:49:30.724Z","repository":{"id":57508547,"uuid":"142822756","full_name":"tuotoo/qiniu-auto-cert","owner":"tuotoo","description":"七牛 CDN 证书自动化工具","archived":false,"fork":false,"pushed_at":"2019-08-18T13:05:23.000Z","size":2607,"stargazers_count":27,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T15:47:50.775Z","etag":null,"topics":["acme","cdn","cert","certificate","letsencrypt","qiniu","ssl"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuotoo.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}},"created_at":"2018-07-30T03:59:50.000Z","updated_at":"2024-06-19T01:34:41.000Z","dependencies_parsed_at":"2022-08-29T23:40:31.406Z","dependency_job_id":null,"html_url":"https://github.com/tuotoo/qiniu-auto-cert","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/tuotoo/qiniu-auto-cert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuotoo%2Fqiniu-auto-cert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuotoo%2Fqiniu-auto-cert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuotoo%2Fqiniu-auto-cert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuotoo%2Fqiniu-auto-cert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuotoo","download_url":"https://codeload.github.com/tuotoo/qiniu-auto-cert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuotoo%2Fqiniu-auto-cert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"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":["acme","cdn","cert","certificate","letsencrypt","qiniu","ssl"],"created_at":"2026-01-14T18:49:29.925Z","updated_at":"2026-01-14T18:49:30.716Z","avatar_url":"https://github.com/tuotoo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 七牛 CDN 证书自动化工具\n\n## 安装\n\n从 [release](https://github.com/tuotoo/qiniu-auto-cert/releases) 下载稳定版本\n\n或者编译安装\n\n`go get -u github.com/tuotoo/qiniu-auto-cert`\n\n## 原理\n\n借助于 Let's Encrypt 以及[七牛融合 CDN API](https://developer.qiniu.com/fusion/api/4246/the-domain-name)实现七牛 CDN 自定义域名证书的自动更新\n\n![](res/auto-cert.png)\n\n所支持的 DNS 服务商: [lego/dns](https://go-acme.github.io/lego/dns/)\n\n## 使用\n\n### 环境变量\n\n- QINIU_ACCESSKEY: 七牛 AccessKey\n- QINIU_SECRETKEY: 七牛 SecretKey\n- DNS_PROVIDER: DNS 所使用的服务商\n- 所使用服务商对应的其他环境变量, 如 cloudflare: `CLOUDFLARE_EMAIL` 和 `CLOUDFLARE_API_KEY`\n\n### 命令行参数\n\n`qiniu-auto-cert \u003cdomain\u003e \u003cemail\u003e`\n\n### Systemd\n\n下载并修改 [systemd service](res/qiniu-auto-cert@.service) 文件中的 Email 和环境变量, 将 service 文件放到 `/etc/systemd/system/` 目录下\n\n启动: \n\n`systemctl start qiniu-auto-cert@\u003cdomain\u003e.service`\n\n停止:\n\n`systemctl stop qiniu-auto-cert@\u003cdomain\u003e.service`\n\n开机运行:\n\n`systemctl enable qiniu-auto-cert@\u003cdomain\u003e.service`\n\n## 感谢\n\n- [qiniu-cdn-ssl-autoupdate](https://github.com/daozzg/qiniu-cdn-ssl-autoupdate)\n- [go-acme/lego](https://github.com/go-acme/lego)\n- [qiniu/api](https://github.com/qiniu/api.v7)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuotoo%2Fqiniu-auto-cert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuotoo%2Fqiniu-auto-cert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuotoo%2Fqiniu-auto-cert/lists"}