{"id":20239538,"url":"https://github.com/realmq/dev-ca","last_synced_at":"2025-10-10T05:13:35.126Z","repository":{"id":130349566,"uuid":"183000124","full_name":"realmq/dev-ca","owner":"realmq","description":"🔐 A docker image :whale: and CLI tool :computer: that makes it easy to generate, manage and use self signed root and leaf certificates for local development. ","archived":false,"fork":false,"pushed_at":"2019-04-23T12:30:22.000Z","size":17,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-23T16:40:20.173Z","etag":null,"topics":["developer-tools","docker","docker-image","local-dev","local-dev-server-on-https","local-development","self-signed-certificate","ssl","ssl-certificates","tls","tls-certificate","tls-certificate-management"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/realmq.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-23T11:26:18.000Z","updated_at":"2024-06-22T09:38:23.000Z","dependencies_parsed_at":"2023-03-17T04:00:45.712Z","dependency_job_id":null,"html_url":"https://github.com/realmq/dev-ca","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/realmq/dev-ca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realmq%2Fdev-ca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realmq%2Fdev-ca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realmq%2Fdev-ca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realmq%2Fdev-ca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realmq","download_url":"https://codeload.github.com/realmq/dev-ca/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realmq%2Fdev-ca/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002795,"owners_count":26083468,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["developer-tools","docker","docker-image","local-dev","local-dev-server-on-https","local-development","self-signed-certificate","ssl","ssl-certificates","tls","tls-certificate","tls-certificate-management"],"created_at":"2024-11-14T08:39:33.304Z","updated_at":"2025-10-10T05:13:35.100Z","avatar_url":"https://github.com/realmq.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :closed_lock_with_key: RealMQ Dev CA - Local Development Certificates\n[![MIT License](https://badgen.net/github/license/realmq/dev-ca \"Mit License\")](https://github.com/realmq/dev-ca/blob/master/LICENSE)\n[![realmq/dev-ca on docker hub](https://badgen.net/docker/pulls/realmq/dev-ca \"realmq/dev-ca on docker hub\")](https://hub.docker.com/r/realmq/dev-ca)\n\n\n`dev-ca` is a docker image for generating self signed root and leaf certificates for local development,\nmaking it easy to manage and use local dev certificates.\n\n* Manage generation of local root certificate.\n* Trusted once, you can use any domain locally with TLS enabled.\n* Supporting wild-card domains\n* Also supporting IP addresses.\n* Dev certs won't expire in a lifetime\n* Build with/for docker\n* Use anywhere via convenient CLI tool\n\n## :fire: Generate certificates\n\n* Dev certificates are generated for a main domain (**DOMAIN** defaults to `localhost`).\n* They can be issued for any number of alternative domains and ip addresses (**SAN** defaults to `127.0.0.1`)\n\n### :whale: Use with docker \nGenerate dev certificates to local directory via docker:\n\n```bash\nmkdir -p certificates\ndocker run --rm \\\n    -v \"${PWD}/certificates:/data/certificates\" \\\n    -u $(id -u ${user}):$(id -g ${user}) \\\n    -e DOMAIN=\"my-org.local\" \\\n    realmq/dev-ca\n```\n\n* `-u $(id -u ${user}):$(id -g ${user})` makes sure your certificates are accessible by current user. If you omit this option certificates are owned by `root:root`.\n* You can include additional domains and ip-addresses by passing them via `-e SAN=\"another.tld 10.10.0.1\"`\n\n### :computer: Use convenient CLI tool\n\nInstall our [cli wrapper](https://github.com/realmq/dev-ca/blob/master/dev-ca.sh):\n\n```bash\nsudo curl -L https://raw.githubusercontent.com/realmq/dev-ca/master/dev-ca.sh -o /usr/local/bin/dev-ca\nsudo chmod a+rx /usr/local/bin/dev-ca\n```\n\nUse the CLI tool to generate local dev certificates:\n```bash\ndev-ca --domain=\"my-org.local\"\n```\n\n* Specify main domain via `-d|--domain` parameter. (Defaults to `localhost`)\n* Pass alternative names via `-s|--san` parameter. (Defaults to `${HOSTNAME} 127.0.0.1`)\n* Set destination directory via `-v|--volume` parameter. (Defaults to `${CWD}/certificates`)\n* Set owning user via `-u|--user` parameter. (Defaults to `${USER}`)\n\n## :rocket: Roadmap\n\n* Add documentation on how to install/trust self-signed root certificates\n* Add docker compose setup example for nginx tls termination\n\n## :page_with_curl: License\nCopyright (c) 2019 [RealMQ GmbH](https://realmq.com).\u003cbr /\u003e\nThe files in this archive are released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealmq%2Fdev-ca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealmq%2Fdev-ca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealmq%2Fdev-ca/lists"}