{"id":13630663,"url":"https://github.com/shelldandy/create-cert-files","last_synced_at":"2026-02-06T16:08:27.011Z","repository":{"id":57210576,"uuid":"114485106","full_name":"shelldandy/create-cert-files","owner":"shelldandy","description":"Create self signed cert files to be used with webpack-dev-server or browsersync","archived":false,"fork":false,"pushed_at":"2018-04-18T17:44:13.000Z","size":10,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-15T04:18:23.134Z","etag":null,"topics":["javascript","nodejs","ssl-certificates","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/shelldandy.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}},"created_at":"2017-12-16T19:28:16.000Z","updated_at":"2025-04-05T13:51:26.000Z","dependencies_parsed_at":"2022-08-31T05:02:21.111Z","dependency_job_id":null,"html_url":"https://github.com/shelldandy/create-cert-files","commit_stats":null,"previous_names":["mike3run/create-cert-files"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/shelldandy/create-cert-files","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelldandy%2Fcreate-cert-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelldandy%2Fcreate-cert-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelldandy%2Fcreate-cert-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelldandy%2Fcreate-cert-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shelldandy","download_url":"https://codeload.github.com/shelldandy/create-cert-files/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelldandy%2Fcreate-cert-files/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29167871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T15:38:29.831Z","status":"ssl_error","status_checked_at":"2026-02-06T15:37:48.592Z","response_time":59,"last_error":"SSL_read: 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":["javascript","nodejs","ssl-certificates","webpack"],"created_at":"2024-08-01T22:01:53.246Z","updated_at":"2026-02-06T16:08:26.997Z","avatar_url":"https://github.com/shelldandy.png","language":"JavaScript","readme":"# create-cert-files\nCreate self signed cert files to be used with webpack-dev-server or browsersync\n\n## Usage with BrowserSync\n\n```bash\nnpm install --dev create-cert-files browser-sync\n```\n\n```js\nconst fakeCert = require('create-cert-files')()\nconst browserSync = require('browser-sync')\n\nbrowserSync.init({\n  https: {\n    key: fakeCert.key,\n    cert: fakeCert.cert\n  }\n})\n```\n\n## Usage with webpack\n\n```bash\nnpm install --save-dev create-cert-files\n```\n\nIn your webpack.config.js\n```js\nconst fakeCert = require('create-cert-files')(options)\nconst fs = require('fs')\n\nmodule.exports = {\n  devServer: {\n    https: {\n            key: fs.readFileSync(fakeCert.key),\n            cert: fs.readFileSync(fakeCert.cert)\n           }\n    }\n}\n```\n\n## options\n### keyPath\nPath of key file\n### certPath\nPath of cert file\n### altNames\nAn array of subjectAltName\n```js\n[\n    {\n      // type 2 is DNS\n      type: 2,\n      value: 'localhost'\n    },\n    {\n      // type 7 is IP\n      type: 7,\n      ip: '127.0.0.1'\n    }\n]\n```\n\n* Profit\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshelldandy%2Fcreate-cert-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshelldandy%2Fcreate-cert-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshelldandy%2Fcreate-cert-files/lists"}