{"id":17090977,"url":"https://github.com/lu4p/gencert","last_synced_at":"2025-04-12T22:29:59.211Z","repository":{"id":98728955,"uuid":"166539084","full_name":"lu4p/genCert","owner":"lu4p","description":"Utility to generate a TLS Certificate.","archived":false,"fork":false,"pushed_at":"2020-04-11T14:45:28.000Z","size":25,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T16:38:39.547Z","etag":null,"topics":["go","golang","pem","rsa-key-pair","tls","tls-certificate","tls-certificate-management","tls-certificates"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lu4p.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}},"created_at":"2019-01-19T11:28:04.000Z","updated_at":"2025-01-14T15:22:28.000Z","dependencies_parsed_at":"2023-09-28T08:34:35.931Z","dependency_job_id":null,"html_url":"https://github.com/lu4p/genCert","commit_stats":{"total_commits":32,"total_committers":2,"mean_commits":16.0,"dds":0.09375,"last_synced_commit":"2303fde120552ae892efd46b60fd5e0538588848"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu4p%2FgenCert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu4p%2FgenCert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu4p%2FgenCert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu4p%2FgenCert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lu4p","download_url":"https://codeload.github.com/lu4p/genCert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248639683,"owners_count":21137890,"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":["go","golang","pem","rsa-key-pair","tls","tls-certificate","tls-certificate-management","tls-certificates"],"created_at":"2024-10-14T13:57:14.441Z","updated_at":"2025-04-12T22:29:59.164Z","avatar_url":"https://github.com/lu4p.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/lu4p/genCert.svg?style=svg)](https://circleci.com/gh/lu4p/genCert)\n[![Go Report Card](https://goreportcard.com/badge/github.com/lu4p/genCert)](https://goreportcard.com/report/github.com/lu4p/genCert)\n## Generate a TLS certificate\n```\ncd ~\ngo get -u -v github.com/lu4p/genCert\ngenCert --help\n```\n```\nUsage of genCert:\n  -ca\n    \twhether this cert should be its own Certificate Authority\n  -duration duration\n    \tDuration that certificate is valid for (default 8760h0m0s)\n  -ecdsa-curve string\n    \tECDSA curve to use to generate a key. Valid values are P224, P256 (recommended), P384, P521\n  -host string\n    \tComma-separated hostnames and IPs to generate a certificate for\n  -rsa-bits int\n    \tSize of RSA key to generate. Ignored if --ecdsa-curve is set (default 2048)\n  -start-date string\n    \tCreation date formatted as Jan 1 15:04:05 2011\n```\nExample Certificate:\n```\ngenCert --ca --ecdsa-curve P384 --host example.tld\n```\nThis will result in the PrivateKey ```key.pem``` and the TLS-Certificate ```cert.pem```\n\nNote: The PrivateKey should be kept PRIVATE, if the PrivateKey is disclosed an attacker is able to:\n- imperson you \n- decrypt your traffic\n- etc.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu4p%2Fgencert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu4p%2Fgencert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu4p%2Fgencert/lists"}