{"id":19060381,"url":"https://github.com/hxfdarling/cert-helper","last_synced_at":"2025-04-24T06:52:06.051Z","repository":{"id":44012013,"uuid":"234720439","full_name":"hxfdarling/cert-helper","owner":"hxfdarling","description":"Install and Verify root CA for proxy, support windows and mac","archived":false,"fork":false,"pushed_at":"2023-01-05T05:17:37.000Z","size":982,"stargazers_count":10,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T06:52:00.021Z","etag":null,"topics":["certificate","installer","mac","root-certificate","verify","windows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hxfdarling.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}},"created_at":"2020-01-18T10:52:01.000Z","updated_at":"2024-02-04T03:03:23.000Z","dependencies_parsed_at":"2023-02-03T12:45:53.369Z","dependency_job_id":null,"html_url":"https://github.com/hxfdarling/cert-helper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxfdarling%2Fcert-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxfdarling%2Fcert-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxfdarling%2Fcert-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxfdarling%2Fcert-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hxfdarling","download_url":"https://codeload.github.com/hxfdarling/cert-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250580713,"owners_count":21453531,"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":["certificate","installer","mac","root-certificate","verify","windows"],"created_at":"2024-11-09T00:15:09.230Z","updated_at":"2025-04-24T06:52:06.031Z","avatar_url":"https://github.com/hxfdarling.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cert Helper\n\nInstall and trust certificates automatically. Very useful in the use of agent software scenarios.\n\n## Usage\n\n### Install\n\n```sh\nnpm i cert-helper\n```\n\n### install certificate\n\nInstall certification as root certificate\n\n```js\nconst { certInstaller } = require('cert-helper');\ncertInstaller(path.resolve('./certs/root.crt'), (err) =\u003e {\n  if (err) {\n    //install error\n  } else {\n    //install success\n  }\n});\n```\n\n### verify certificate\n\nCheck certificate is installed\n\n```js\nconst { certVerify } = require('cert-helper');\ncertVerify(\n  {\n    certDir: path.resolve('./certs/root.crt'),\n    certName: 'certificate name',\n  },\n\n  (err) =\u003e {\n    if (err) {\n      console.info('Check cert failed!');\n    } else {\n      console.info('Check cert success!');\n    }\n  }\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhxfdarling%2Fcert-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhxfdarling%2Fcert-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhxfdarling%2Fcert-helper/lists"}