{"id":32661408,"url":"https://github.com/caiguanhao/certutils","last_synced_at":"2026-01-12T02:04:49.946Z","repository":{"id":57641207,"uuid":"326241473","full_name":"caiguanhao/certutils","owner":"caiguanhao","description":"Wildcard certificates tools: Obtain certbot's (Let's Encrypt) wildcard certificates by updating DNS TXT records and answering stupid certbot questions for you.","archived":false,"fork":false,"pushed_at":"2024-12-21T06:04:11.000Z","size":53,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-21T07:18:24.711Z","etag":null,"topics":["alidns","certbot","cloudflare","letsencrypt","wildcard-certificates"],"latest_commit_sha":null,"homepage":"","language":"Go","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/caiguanhao.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-02T18:02:19.000Z","updated_at":"2024-12-21T06:04:15.000Z","dependencies_parsed_at":"2024-06-21T15:17:32.967Z","dependency_job_id":"76b3893a-e059-40a1-8132-0c3bf2f75ff8","html_url":"https://github.com/caiguanhao/certutils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caiguanhao/certutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Fcertutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Fcertutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Fcertutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Fcertutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caiguanhao","download_url":"https://codeload.github.com/caiguanhao/certutils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Fcertutils/sbom","scorecard":{"id":261977,"data":{"date":"2025-08-11","repo":{"name":"github.com/caiguanhao/certutils","commit":"0796eb690c171707b137a735572e48c0a55211b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T11:01:32.491Z","repository_id":57641207,"created_at":"2025-08-17T11:01:32.491Z","updated_at":"2025-08-17T11:01:32.491Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["alidns","certbot","cloudflare","letsencrypt","wildcard-certificates"],"created_at":"2025-10-31T17:30:48.908Z","updated_at":"2026-01-12T02:04:49.930Z","avatar_url":"https://github.com/caiguanhao.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# certutils\n\n- `mkcert` Generate wildcard SSL certificates automatically. It helps you set up TXT DNS records on Alidns or Cloudflare.\n- `upcert` Upload and encrypt cert files to Aliyun OSS.\n- `getcert` Download and decrypt encrypted cert files on Aliyun OSS.\n\nYou can run `go run generate_key.go` to generate `key.go` for upcert and getcert.\n\n## mkcert\n\nMake sure you have installed:\n\n- [aliyun-cli](https://github.com/aliyun/aliyun-cli) and/or [cloudflare](https://github.com/caiguanhao/cloudflare)\n- docker\n- docker pull certbot/certbot:v1.10.0\n\nNote: You may be [rate-limited](https://letsencrypt.org/docs/rate-limits/) if\nyou are going to make many certs with the same IP address.\n\nIf your have applied too many certs using the same account, then your account\nmight be blocked. You can use `--email` option to use new account.\n\nTo check for errors, run `docker logs` on the newly created container.\n\n## Usage\n\n![certutils](https://user-images.githubusercontent.com/1284703/112626352-0ca95180-8e6b-11eb-8eeb-c55930fc1efa.gif)\n\n```\n➜ mkcert \"*.example.com\"\n2021/01/04 02:21:39 root domain: example.com\n2021/01/04 02:21:39 created container: e7378c26\n2021/01/04 02:21:39 finding TXT records for _acme-challenge\n2021/01/04 02:21:39 found 2 TXT records for _acme-challenge\n2021/01/04 02:21:39 deleting TXT record with id 18862666777171968\n2021/01/04 02:21:40 deleting TXT record with id 18862665550077952\n2021/01/04 02:21:41 waiting acme challenge\n2021/01/04 02:21:45 pressing enter to certbot, waiting for response...\n2021/01/04 02:21:45 received certbot's acme challenge: ubRcq6JSoXynolCWf1TT2nhUlQwEok3Lmig1gryr65c\n2021/01/04 02:21:45 creating new TXT record\n2021/01/04 02:21:45 new record has been created, id: 21028086258404352\n2021/01/04 02:21:45 received certbot's acme challenge: KNHNcYb6fWYw6SdvWTxxmP-ybPfYGt6iLi6jSLia26g\n2021/01/04 02:21:45 creating new TXT record\n2021/01/04 02:21:46 new record has been created, id: 21028086297198592\n2021/01/04 02:21:46 wait 10 seconds for dns records to take effect\n2021/01/04 02:21:56 waiting cert files\n2021/01/04 02:21:56 pressing enter to certbot, waiting for response...\n2021/01/04 02:22:04 copying /etc/letsencrypt/live/example.com/fullchain.pem from e7378c26\n2021/01/04 02:22:04 written file example.com.cert\n2021/01/04 02:22:04 copying /etc/letsencrypt/live/example.com/privkey.pem from e7378c26\n2021/01/04 02:22:04 written file example.com.key\n2021/01/04 02:22:04 successfully generated certificates\n2021/01/04 02:22:04 removing container e7378c26\n2021/01/04 02:22:04 done\n\n➜ upcert example.com.*\n2021/01/04 02:22:23 uploaded example.com.cert\n2021/01/04 02:22:23 uploaded example.com.key\n\n➜ getcert\n2021/01/04 11:08:40 getting list of certs\n1. example.com{.cert,.key}       4. foobar.com{.cert,.key}        7. helloworld.com{.cert,.key}\n2. example.net{.cert,.key}       5. foobar.net{.cert,.key}\n3. example.org{.cert,.key}       6. foobar.org{.cert,.key}\nEnter numbers (separated by comma) to choose files: 1\n2021/01/04 11:08:58 downloading example.com.cert\n2021/01/04 11:08:58 written example.com.cert\n2021/01/04 11:08:58 downloading example.com.key\n2021/01/04 11:08:58 written example.com.key\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiguanhao%2Fcertutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaiguanhao%2Fcertutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiguanhao%2Fcertutils/lists"}