{"id":20901616,"url":"https://github.com/willfarrell/docker-selfsigncert","last_synced_at":"2025-03-12T20:34:20.688Z","repository":{"id":142528731,"uuid":"140223613","full_name":"willfarrell/docker-selfsigncert","owner":"willfarrell","description":"Docker for creating self signed tls certificates","archived":false,"fork":false,"pushed_at":"2018-07-09T18:23:12.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-19T13:27:24.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/willfarrell.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":"2018-07-09T02:54:45.000Z","updated_at":"2023-11-16T15:48:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"25593dd8-6732-49d0-bd8a-ac57445319c5","html_url":"https://github.com/willfarrell/docker-selfsigncert","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/willfarrell%2Fdocker-selfsigncert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fdocker-selfsigncert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fdocker-selfsigncert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willfarrell%2Fdocker-selfsigncert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willfarrell","download_url":"https://codeload.github.com/willfarrell/docker-selfsigncert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243292858,"owners_count":20268127,"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-18T11:36:14.578Z","updated_at":"2025-03-12T20:34:20.664Z","avatar_url":"https://github.com/willfarrell.png","language":"Shell","readme":"# Docker: Self-Signed Certificates\nContainer to easily inject self-signed certs into other docker containers via volumes\n\n## Features\n- Creates separate CA using RSA or ECDSA\n- Creates certificates using RSA and ECDSA\n- Saves certificate and keys in volumes\n- Will only renew during specified time period\n- Verifies certificates\n\n## ENV\n```bash\n# See source code for full list\nCA_ALG: RSA, ECDSA\nCA_SIZE: 2048, 4096 for RSA and secp384r1, and others for ECDSA\nCA_SUBJECT: Organization name\nCA_EXPIRE: How many days till expire\nCA_RENEW: How many days before expire to try to renew\n\nSSL_ALG: See CA_ALG\nSSL_SIZE: See CA_SIZE\nSSL_EXPIRE: See CA_EXPIRE\nSSL_RENEW: See CA_RENEW\n\nSSL_SUBJECT: Primary domain to generate cert for\nSSL_DNS: Secondary domains to add on the certificate\nSSL_IP: Secondary IPs to add on the certificate\n```\n\n## Use\n\n### docker cli\n```bash\ndocker run \\\n    -e CA_SUBJECT=\"Farrell Labs Inc\" \\\n    -e SSL_SUBJECT=app.example.com \\\n    willfarrell/selfsigncert\n```\n\n### docker-compose.yml\n```yml\nversion: \"3\"\n\nservices:\n  selfsigncert:\n    image: willfarrell/selfsigncert\n    environment:\n      - CA_SUBJECT=\"Farrell Labs Inc\"\n      - SSL_SUBJECT=app.example.com\n    volumes:\n      - \"tls_ca:/etc/ssl/ca\"\n      - \"tls_certs:/etc/ssl/certs\"\n\nvolumes:\n  tls_ca:\n  tls_certs:\n\n```\n\n\n## Credit:\nhttps://github.com/paulczar/omgwtfssl\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fdocker-selfsigncert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillfarrell%2Fdocker-selfsigncert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillfarrell%2Fdocker-selfsigncert/lists"}