{"id":20896207,"url":"https://github.com/waitingsong/node-myca","last_synced_at":"2026-03-10T23:05:01.622Z","repository":{"id":57306475,"uuid":"116476759","full_name":"waitingsong/node-myca","owner":"waitingsong","description":"Create Self-signed CA certificate for development use and issue server or client certificates, generated using openssl","archived":false,"fork":false,"pushed_at":"2023-09-18T18:26:11.000Z","size":877,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T09:18:31.368Z","etag":null,"topics":["ca","certificate","csr","ecc","myca","openssl","pfx","pkcs12","rsa","san","self-signed","x509"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/waitingsong.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-01-06T11:17:00.000Z","updated_at":"2024-12-02T04:38:58.000Z","dependencies_parsed_at":"2024-06-21T03:53:11.239Z","dependency_job_id":"3ae3cd60-edf2-4fa5-b03b-fee92ab54c10","html_url":"https://github.com/waitingsong/node-myca","commit_stats":{"total_commits":873,"total_committers":4,"mean_commits":218.25,"dds":"0.020618556701030966","last_synced_commit":"17deaa80934a072d6c04e4605d79e9b4ea5f506b"},"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"purl":"pkg:github/waitingsong/node-myca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fnode-myca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fnode-myca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fnode-myca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fnode-myca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waitingsong","download_url":"https://codeload.github.com/waitingsong/node-myca/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fnode-myca/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30360697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"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":["ca","certificate","csr","ecc","myca","openssl","pfx","pkcs12","rsa","san","self-signed","x509"],"created_at":"2024-11-18T10:34:15.463Z","updated_at":"2026-03-10T23:05:01.600Z","avatar_url":"https://github.com/waitingsong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# myca\n\nCreate my CA center, generate a self signed x509 certificate, issue server certificate from node.js via openssl. Multiple center supported. RSA, EC(P-256, P-384) supported.\n\n\n[![GitHub tag](https://img.shields.io/github/tag/waitingsong/node-myca.svg)]()\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![](https://img.shields.io/badge/lang-TypeScript-blue.svg)]()\n[![ci](https://github.com/waitingsong/node-myca/workflows/ci/badge.svg)](https://github.com/waitingsong/node-myca/actions?query=workflow%3A%22ci%22)\n[![codecov](https://codecov.io/github/waitingsong/node-myca/branch/main/graph/badge.svg?token=wTaSMKz3Ne)](https://codecov.io/github/waitingsong/node-myca)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lernajs.io/)\n\n\n\n## 安装全局依赖\n```sh\nnpm i -g c8 lerna rollup tsx\n```\n\n## Installing\n```bash\nnpm install --save myca\n```\n\n## CLI\n- [myca-cli](https://www.npmjs.com/package/myca-cli)\n- Installing by `npm i -g myca-cli`\n- Command help\n  - `myca`\n  - `myca initca -h`\n  - `myca issue -h`\n- Example\n  ```sh\n  myca initca --days=10950 --alg=ec --pass=capass \\\n    --cn=\"Root CA\" --ou=\"waitingsong.com\" --o=\"waitingsong\" --l=\"CD\" --c=CN \\\n  ```\n\n  ```sh\n  myca issue --kind=server --days=3650 --pass=mypass \\\n    --cn=\"waitingsong.com\" --o=\"waitingsong\" --c=CN --caKeyPass=capass \\\n    --centerName=default --alg=ec \\\n    --ips=\"127.0.0.1, 192.168.0.1\" \\\n    --SAN=\"localhost\" \n  ```\n\n  ```sh\n  myca issue --kind=client --days=3650 --pass=mypass \\\n    --cn=\"client\" --o=\"it\" --c=CN --caKeyPass=capss \\\n    --centerName=default --alg=ec \n  ```\n\n\n## Usage\n- Initialize default center\n  ```ts\n  import { initDefaultCenter } from 'myca'\n\n  await initDefaultCenter()\n  ```\n\n\n## Packages\n\n| Package      | Version                |\n| ------------ | ---------------------- |\n| [`myca`]     | [![main-svg]][main-ch] |\n| [`myca-cli`] | [![cli-svg]][cli-ch]   |\n\n\n\n## License\n[MIT](LICENSE)\n\n\n### Languages\n- [English](README.md)\n- [中文](README.zh-CN.md)\n\n\u003cbr\u003e\n\n[`myca`]: https://github.com/waitingsong/node-myca/tree/main/packages/myca\n[main-svg]: https://img.shields.io/npm/v/myca.svg?maxAge=7200\n[main-ch]: https://github.com/waitingsong/node-myca/tree/main/packages/myca/CHANGELOG.md\n\n[`myca-cli`]: https://github.com/waitingsong/node-myca/tree/main/packages/myca-cli\n[cli-svg]: https://img.shields.io/npm/v/myca-cli.svg?maxAge=7200\n[cli-ch]: https://github.com/waitingsong/node-myca/tree/main/packages/myca-cli/CHANGELOG.md\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitingsong%2Fnode-myca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaitingsong%2Fnode-myca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitingsong%2Fnode-myca/lists"}