{"id":20827251,"url":"https://github.com/ccnokes/node-https-starter","last_synced_at":"2026-04-28T04:36:37.385Z","repository":{"id":88144230,"uuid":"93914059","full_name":"ccnokes/node-https-starter","owner":"ccnokes","description":"Sometimes you need a local HTTPS server for things. But it's a major hassle setting one up. Now it isn't. ","archived":false,"fork":false,"pushed_at":"2017-06-11T15:25:05.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T17:55:24.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ccnokes.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":"2017-06-10T03:44:24.000Z","updated_at":"2017-06-14T11:59:17.000Z","dependencies_parsed_at":"2023-07-23T19:46:27.137Z","dependency_job_id":null,"html_url":"https://github.com/ccnokes/node-https-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnokes%2Fnode-https-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnokes%2Fnode-https-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnokes%2Fnode-https-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnokes%2Fnode-https-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccnokes","download_url":"https://codeload.github.com/ccnokes/node-https-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243174896,"owners_count":20248362,"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-11-17T23:11:34.374Z","updated_at":"2025-12-27T07:38:35.322Z","avatar_url":"https://github.com/ccnokes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node HTTPS Server Starter\n\nSometimes you need a local HTTPS server for things. But it's a major hassle setting one up. Now it isn't. \n\nUsage:\n```shell\n# Set things up\ngit clone\nnpm install \n\n# Create a CA and sign a server certificate\nnpm run create-certs\n\n# Optionally, you can add the CA cert as a trusted root\n# This makes it so that `curl` trusts your site without doing anything special \n# Doing still won't make most browsers trust your cert, so you'll still have to click through warnings\ncd certs \u0026\u0026 ./trust-ca.sh \u0026\u0026 cd ..\n\n# start a server at port 4433 (or whatever process.env.PORT is)\nnpm start\n```\n\n\nI don't actually know much about OpenSSL and other security things. So I had lots of help from these links:\nhttps://engineering.circle.com/https-authorized-certs-with-node-js-315e548354a2\nhttps://serverfault.com/questions/845766/generating-a-self-signed-cert-with-openssl-that-works-in-chrome-58\nhttps://derflounder.wordpress.com/2011/03/13/adding-new-trusted-root-certificates-to-system-keychain/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccnokes%2Fnode-https-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccnokes%2Fnode-https-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccnokes%2Fnode-https-starter/lists"}