{"id":16021006,"url":"https://github.com/cirocosta/certgen","last_synced_at":"2025-09-13T07:16:07.350Z","repository":{"id":73883728,"uuid":"109972424","full_name":"cirocosta/certgen","owner":"cirocosta","description":"Utility for generating certificates with SAN set","archived":false,"fork":false,"pushed_at":"2017-11-08T12:57:50.000Z","size":298,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T03:42:39.821Z","etag":null,"topics":["certificates","shell","tls"],"latest_commit_sha":null,"homepage":"","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/cirocosta.png","metadata":{"files":{"readme":"README.txt","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":"2017-11-08T12:23:07.000Z","updated_at":"2017-11-08T15:33:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b392d96-205c-475b-9434-bfbd3ece2cf2","html_url":"https://github.com/cirocosta/certgen","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"77ff7a910e4187e4239acebf5bfcdd981d0e5b64"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cirocosta/certgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fcertgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fcertgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fcertgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fcertgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cirocosta","download_url":"https://codeload.github.com/cirocosta/certgen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fcertgen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270149345,"owners_count":24535728,"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-08-12T02:00:09.011Z","response_time":80,"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":["certificates","shell","tls"],"created_at":"2024-10-08T18:01:27.346Z","updated_at":"2025-08-12T23:11:00.043Z","avatar_url":"https://github.com/cirocosta.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"certgen\n\n  `certgen` is a small utility for generating certificates.\n\nUsage:\n  \n  certgen [domain [...]]\n\nRequirements:\n\n  - openssl\n\nExample:\n  \n  Suppose we want to generate a certificate for `test.com`\n  so that we can test an HTTP2 setup using HAProxy.\n\n    ./certgen test.com\n\n    INFO:\n      Starting certificate generation.\n      \n      DOMAIN=test.com\n      KEY_NAME=key_test.com.pem\n      CERT_NAME=cert_test.com.pem\n      HAPROXY_CERT=haproxy_test.com.pem\n      OPENSSL_CONF=/var/folders/hb/wvttlxt51xl_m1wmtrj_k4sh0000gn/T/tmp.IdudKFSt\n      \n    Generating a 4096 bit RSA private key\n    ..................++\n    .......++\n    writing new private key to 'key_test.com.pem'\n    -----\n\n    SUCCESS:\n      Certificates successfully generated.\n\n      You can inspect the certificate by issuing the following command:\n\n        openssl x509 -in cert_test.com.pem -text -noout\n\n    Done.\n\n  Now that we have our certificate generated, run the inspection command:\n\n    Certificate:\n        ...\n            Issuer: C=BR, ST=SaoPaulo, L=SaoPaulo, O=TestOrg, OU=TestUnit, CN=test.com\n            Validity\n                Not Before: Nov  8 12:31:51 2017 GMT\n                Not After : Nov  8 12:31:51 2019 GMT\n            Subject: C=BR, ST=SaoPaulo, L=SaoPaulo, O=TestOrg, OU=TestUnit, CN=test.com\n            ...\n                RSA Public Key: (4096 bit)\n                        ...\n                X509v3 Subject Alternative Name: \n                    DNS:test.com\n        ...\n\n    Check that Chrome takes the certificate: \n\n      - https://dl.filla.be/f0HzxmUr3\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fcertgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirocosta%2Fcertgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fcertgen/lists"}