{"id":18544258,"url":"https://github.com/tiyee/autocert","last_synced_at":"2026-07-06T15:30:55.832Z","repository":{"id":258890541,"uuid":"864041465","full_name":"tiyee/AutoCert","owner":"tiyee","description":"云厂商https证书自动更新机器人(目前只适配阿里云和腾讯云的域名和cdn)，可直接由github action运行，不需要单独服务器。","archived":false,"fork":false,"pushed_at":"2026-06-27T07:56:14.000Z","size":94,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-06-27T09:21:47.929Z","etag":null,"topics":["aliyun-cdn","aliyun-ssl","automation","certbot","letsencrypt","ssl"],"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/tiyee.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-27T11:37:46.000Z","updated_at":"2026-06-27T07:56:18.000Z","dependencies_parsed_at":"2026-01-10T17:27:20.414Z","dependency_job_id":null,"html_url":"https://github.com/tiyee/AutoCert","commit_stats":null,"previous_names":["tiyee/autocert"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tiyee/AutoCert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2FAutoCert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2FAutoCert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2FAutoCert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2FAutoCert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiyee","download_url":"https://codeload.github.com/tiyee/AutoCert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiyee%2FAutoCert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35197534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"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":["aliyun-cdn","aliyun-ssl","automation","certbot","letsencrypt","ssl"],"created_at":"2024-11-06T20:15:47.853Z","updated_at":"2026-07-06T15:30:55.770Z","avatar_url":"https://github.com/tiyee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoCert\n\n云厂商https证书自动更新机器人(目前适配阿里云cdn|腾讯云)\n\n## 使用方法\n\n\u003e go run cmd/main.go  --domain=\"xxx.xxx.com\" --email=xxx@xxx.com --product=cdn --certonly --dns-access-key-id=xxxxx --dns-access-key-secret=xxxx --cdn-access-key-id=xxxx --cdn-access-key-secret=xxxx -platform=[aliyun|tencent]\n\n如果只想申请，可以把命令改成:\n\n\u003e go run cmd/apply/main.go  --domain=\"xxx.xxx.com\" --email=xxx@xxx.com --product=cdn --certonly --dns-access-key-id=xxxxx --dns-access-key-secret=xxxx --cdn-access-key-id=xxxx --cdn-access-key-secret=xxxx -platform=[aliyun|tencent]\n\n\n## 参数说明\n\n| 名称       | 类型     | 说明                                 |\n| ---------- | -------- |------------------------------------|\n| platform      | `string` | 平台，默认aliyun,支持aliyun和tencent                          |\n| domain       | `string` | 需要部署证书的域名                          |\n| email | `string` | 申请者(即你)的邮箱地址                       |\n| product     | `string` | 产品，目前固定cdn                         |\n| certonly     | `boolean` | 是否新申请                              |\n| renew     | `boolean` | 是否是更新域名                            |\n| dns-access-key-id     | `string` | dns的AK(主要是申请证书的时候需要添加一条txt记录来验证域名所有权) |\n| dns-access-key-secret    | `string` | dns的SK                             |\n| cdn-access-key-id     | `string` | cdn的AK                             |\n| cdn-access-key-secret     | `string` | cdn的SK                          |\n\n## 说明\n\ndns的秘钥主要是申请证书的时候，let's encrypt需要验证所有权，会写入一条txt解析记录。因此秘钥需要相关的权限\n\ncdn的秘钥是用来查询和部署证书的，也需要相关权限。\n\ndns和cdn可以是相同的秘钥，只需要同时拥有对应权限即可。\n\n申请的证书是RSA2048，目前没有加入配置项，后面可能会加入。\n\n代码是开源的，可自行增加修改。也可以提issue我处理。\n\n## github action 自动运行\n\n直接参考本项目的设置，为了安全，可以把信息放到secret key里\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiyee%2Fautocert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiyee%2Fautocert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiyee%2Fautocert/lists"}