{"id":15543612,"url":"https://github.com/urre/localhttps","last_synced_at":"2026-04-27T21:31:47.879Z","repository":{"id":146782847,"uuid":"145721046","full_name":"urre/localhttps","owner":"urre","description":"Use a self signed local SSL cert on macOS for local development","archived":false,"fork":false,"pushed_at":"2018-08-23T17:54:13.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T08:57:37.666Z","etag":null,"topics":["cert","docker","https","ssl"],"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/urre.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":"2018-08-22T14:31:53.000Z","updated_at":"2021-10-01T22:43:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"96a7b706-d51b-41f4-9d1c-7f89c95d3d7e","html_url":"https://github.com/urre/localhttps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/urre/localhttps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Flocalhttps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Flocalhttps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Flocalhttps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Flocalhttps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urre","download_url":"https://codeload.github.com/urre/localhttps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Flocalhttps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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":["cert","docker","https","ssl"],"created_at":"2024-10-02T12:27:46.125Z","updated_at":"2026-04-27T21:31:47.864Z","avatar_url":"https://github.com/urre.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Self signed SSL cert for local development\n\n## Setup\n\n1. Create a self signed SSL cert on macOS (stored in /certs)\n2. Trust the certificate in the macOS Keychain.\n3. Add/remove a vhost in /etc/hosts (nicedomain.local in this example)\n\n`./setup.sh` to do everything above in order.\n\n\u003e __Note:__ Change to your own domain in `create-cert.sh` and `trust-cert.sh`\n\n## Run\n+ Using docker-compose as a simple example and nginx-proxy for exposing both port 80 and 443 (optional)\n\n`docker-compose up` to start\n\n![](https://res.cloudinary.com/urre/image/upload/v1534948050/z8jqmokd1l8hpkxzpmdg.png)\n\n\n### Notes\nThe cert will work in Chrome and Safari. Firefox doesn't trust certs in macOS Keychain any longer, since it is using it's own Certificate Manger. Import certs in Tools \u003e Options \u003e Advanced \u003e Certificates: View Certificates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furre%2Flocalhttps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furre%2Flocalhttps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furre%2Flocalhttps/lists"}