{"id":13514041,"url":"https://github.com/jsha/minica","last_synced_at":"2025-10-04T10:42:56.635Z","repository":{"id":41344815,"uuid":"69431946","full_name":"jsha/minica","owner":"jsha","description":"minica is a small, simple CA intended for use in situations where the CA operator also operates each host where a certificate will be used.","archived":false,"fork":false,"pushed_at":"2024-05-20T22:59:40.000Z","size":21,"stargazers_count":3153,"open_issues_count":33,"forks_count":256,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-05-10T08:38:53.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jsha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-09-28T06:16:33.000Z","updated_at":"2025-05-09T09:06:41.000Z","dependencies_parsed_at":"2022-07-16T19:00:29.698Z","dependency_job_id":"96cf6f08-e0f9-4cdc-aa5b-c646e750da5f","html_url":"https://github.com/jsha/minica","commit_stats":{"total_commits":25,"total_committers":9,"mean_commits":"2.7777777777777777","dds":0.4,"last_synced_commit":"4c461f218668ad4e6888bc319f3acbc7a99863e9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsha%2Fminica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsha%2Fminica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsha%2Fminica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsha%2Fminica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsha","download_url":"https://codeload.github.com/jsha/minica/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092776,"owners_count":22013290,"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":[],"created_at":"2024-08-01T05:00:44.494Z","updated_at":"2025-10-04T10:42:51.587Z","avatar_url":"https://github.com/jsha.png","language":"Go","funding_links":[],"categories":["Go","\u003ca id=\"43b0310ac54c147a62c545a2b0f4bce2\"\u003e\u003c/a\u003e辅助周边","\u003ca id=\"86d5daccb4ed597e85a0ec9c87f3c66f\"\u003e\u003c/a\u003eTLS\u0026\u0026SSL\u0026\u0026HTTPS"],"sub_categories":["\u003ca id=\"86d5daccb4ed597e85a0ec9c87f3c66f\"\u003e\u003c/a\u003eTLS\u0026\u0026SSL\u0026\u0026HTTPS","\u003ca id=\"776c034543a65be69c061d1aafce3127\"\u003e\u003c/a\u003e新添加的"],"readme":"Minica is a simple CA intended for use in situations where the CA operator\nalso operates each host where a certificate will be used. It automatically\ngenerates both a key and a certificate when asked to produce a certificate.\nIt does not offer OCSP or CRL services. Minica is appropriate, for instance,\nfor generating certificates for RPC systems or microservices.\n\nOn first run, minica will generate a keypair and a root certificate in the\ncurrent directory, and will reuse that same keypair and root certificate\nunless they are deleted.\n\nOn each run, minica will generate a new keypair and sign an end-entity (leaf)\ncertificate for that keypair. The certificate will contain a list of DNS names\nand/or IP addresses from the command line flags. The key and certificate are\nplaced in a new directory whose name is chosen as the first domain name from\nthe certificate, or the first IP address if no domain names are present. It\nwill not overwrite existing keys or certificates.\n\nThe certificate will have a validity of 2 years and 30 days.\n\n# Installation\n\nFirst, install the [Go tools](https://golang.org/dl/) and set up your `$GOPATH`.\nThen, run:\n\n`go install github.com/jsha/minica@latest`\n\nWhen using Go 1.11 or newer you don't need a $GOPATH and can instead do the\nfollowing:\n\n```\ncd /ANY/PATH\ngit clone https://github.com/jsha/minica.git\ngo build\n## or\n# go install\n```\n\nMac OS users could alternatively use Homebrew: `brew install minica`\n\n# Example usage\n\n```\n# Generate a root key and cert in minica-key.pem, and minica.pem, then\n# generate and sign an end-entity key and cert, storing them in ./foo.com/\n$ minica --domains foo.com\n\n# Wildcard\n$ minica --domains '*.foo.com'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsha%2Fminica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsha%2Fminica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsha%2Fminica/lists"}