{"id":19206375,"url":"https://github.com/fraigo/https-localhost-ssl-certificate","last_synced_at":"2025-05-12T17:26:42.521Z","repository":{"id":94816925,"uuid":"174188954","full_name":"fraigo/https-localhost-ssl-certificate","owner":"fraigo","description":"Create a local trusted certificate for a local HTTPS server (https://localhost)","archived":false,"fork":false,"pushed_at":"2019-03-06T17:40:43.000Z","size":2,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T15:43:30.583Z","etag":null,"topics":["express-js","https-server","ssl","ssl-certificates","ssl-support"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/fraigo.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,"zenodo":null}},"created_at":"2019-03-06T17:21:11.000Z","updated_at":"2022-12-05T19:09:31.000Z","dependencies_parsed_at":"2023-05-14T20:45:45.875Z","dependency_job_id":null,"html_url":"https://github.com/fraigo/https-localhost-ssl-certificate","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/fraigo%2Fhttps-localhost-ssl-certificate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraigo%2Fhttps-localhost-ssl-certificate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraigo%2Fhttps-localhost-ssl-certificate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraigo%2Fhttps-localhost-ssl-certificate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fraigo","download_url":"https://codeload.github.com/fraigo/https-localhost-ssl-certificate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253786102,"owners_count":21964089,"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":["express-js","https-server","ssl","ssl-certificates","ssl-support"],"created_at":"2024-11-09T13:15:41.188Z","updated_at":"2025-05-12T17:26:42.513Z","avatar_url":"https://github.com/fraigo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# https-localhost-ssl-certificate\nCreate a local trusted certificate for a local HTTPS server (https://localhost)\n\n## Overview\nThis script can create local generated SSL certificates to be used in a local web server environment (For example: Node.js/Express)\n\n## Requirements\n\n* `openssl` library to generate certificates and keys\n* A local HTTPS-enabled web server to test your certificate\n\n## Certificate Instalation\n\n* Modify the file `server.csr.cnf` to match your country, state company, organization details \n  * `C=[2-letter Country Code]`\n  * `ST=[State/Province]`\n  * `L=[Location/City]`\n  * `O=[Organization/Company]`\n  * `OU=[Organizational Unit]`\n  * `emailAddress=[admin@email]`\n  * `CN=localhost` (You may keep this value unless you are securing a different local host name)\n* Execute the script `sslcert.sh`, to generate `server.crt` and `server.key`\n* Put thsese files accesible to configure your web server \n  * `server.key` as the private key\n  * `server.crt` as the server certificate\n\n\n## References\n\nhttps://medium.freecodecamp.org/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraigo%2Fhttps-localhost-ssl-certificate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffraigo%2Fhttps-localhost-ssl-certificate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraigo%2Fhttps-localhost-ssl-certificate/lists"}