{"id":22158188,"url":"https://github.com/pittst3r/certgen","last_synced_at":"2026-04-30T00:34:55.802Z","repository":{"id":142757210,"uuid":"372073312","full_name":"pittst3r/certgen","owner":"pittst3r","description":"Docker container for generating self-signed CA and leaf X.509 certificates for internal services","archived":false,"fork":false,"pushed_at":"2021-05-30T05:02:16.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T19:49:08.171Z","etag":null,"topics":["certificate","certificate-rotation","docker","ssl","tls","x509"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/pittst3r/certgen","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/pittst3r.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":"2021-05-29T21:36:10.000Z","updated_at":"2021-05-30T05:02:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d968872-3a0b-42a5-8a3a-1df7e5ec862a","html_url":"https://github.com/pittst3r/certgen","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pittst3r%2Fcertgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pittst3r%2Fcertgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pittst3r%2Fcertgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pittst3r%2Fcertgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pittst3r","download_url":"https://codeload.github.com/pittst3r/certgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294754,"owners_count":20591899,"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":["certificate","certificate-rotation","docker","ssl","tls","x509"],"created_at":"2024-12-02T03:20:39.538Z","updated_at":"2026-04-30T00:34:55.755Z","avatar_url":"https://github.com/pittst3r.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# certgen\n\nDocker image for generating self-signed CA and leaf X.509 certificates. For\ninternal/private use only; self-signed certificates should not be exposed\npublicly because they cannot be verified and trusted by a third-party.\n\n## Usage\n\n```shell\ncertgen COMMAND [OPTIONS] [ARGUMENTS]\n```\n\n### Examples\n\n```shell\ndocker run -v $PWD/certs:/certs pittst3r/certgen ca foo-ca\ndocker run -v $PWD/certs:/certs pittst3r/certgen leaf foo-ca bar-baz\nopenssl verify -CAfile certs/foo-ca.crt certs/bar-baz.crt\n# \u003e certs/bar-baz.crt: OK\n```\n\n### Commands\n\n#### `ca`\n\nGenerate a self-signed root CA certificate and private key.\n\n##### Arguments\n\n1. The Common Name of the CA, which will also be used as the cert and key file\n   names (less the extension); IMPORTANT: this name cannot be shared by any of\n   the certificates you create with this root certificate\n\n##### Options\n\n- `--ttl \u003cinteger\u003e`: (default: `3650`) Number of days for which the certificate\n  will be valid\n- `--mode \u003cinteger\u003e`: (default: `0600`) Sets the mode of the files\n\n#### `leaf`\n\nGenerate a leaf certificate using the given CA certificate/key.\n\n##### Arguments\n\n1. The Common Name of the CA certificate\n2. The Common Name of this certificate, which will also be used as the cert and\n   key file names (less the extension)\n\n##### Options\n\n- `--ttl \u003cinteger\u003e`: (default: `30`) Number of days for which the certificate\n  will be valid\n- `--mode \u003cinteger\u003e`: (default: `0600`) Sets the mode of the files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpittst3r%2Fcertgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpittst3r%2Fcertgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpittst3r%2Fcertgen/lists"}