{"id":15429461,"url":"https://github.com/evindunn/self_signed_ca","last_synced_at":"2026-03-07T17:03:29.961Z","repository":{"id":130611442,"uuid":"458905223","full_name":"evindunn/self_signed_ca","owner":"evindunn","description":"Python scripts for self-signed certficate generation","archived":false,"fork":false,"pushed_at":"2022-10-16T18:43:52.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T06:25:57.578Z","etag":null,"topics":["devops","pki","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/evindunn.png","metadata":{"files":{"readme":"README.md","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":"2022-02-13T19:09:09.000Z","updated_at":"2024-06-12T02:51:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c49fee0-c7fe-41d9-bf89-ba501e7f9b2a","html_url":"https://github.com/evindunn/self_signed_ca","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"4a9ab0425d08370d264d509d3053639911ef2a51"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fself_signed_ca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fself_signed_ca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fself_signed_ca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evindunn%2Fself_signed_ca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evindunn","download_url":"https://codeload.github.com/evindunn/self_signed_ca/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245976315,"owners_count":20703435,"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":["devops","pki","python"],"created_at":"2024-10-01T18:10:20.243Z","updated_at":"2026-03-07T17:03:29.956Z","avatar_url":"https://github.com/evindunn.png","language":"Python","readme":"# Installation\n```bash\n# Create \u0026 activate a venv\npython3 -m venv venv\nsource venv/bin/activate\n\n# Install tools\npip install git+https://github.com/evindunn/self_signed_ca.git\n\n# ssca and ssc commands are available within the venv\nssca --help\nssc --help\n```\n\n# Usage\n\n## ssca\n\nGenerate a self-signed CA\n\n```\nusage: ssca [-h] [-k PRIVATE_KEY] [-d EXPIRY_DATE]\n            common_name country province locality organization email\n\nGenerate a self-signed CA\n\npositional arguments:\n  common_name           The CA's common name\n  country               The CA's 2-letter country code\n  province              The CA's spelled-out state/province\n  locality              The CA's locality\n  organization          The name of the CA's organization\n  email                 The contact email for the CA\n\noptions:\n  -h, --help            show this help message and exit\n  -k PRIVATE_KEY, --private-key PRIVATE_KEY\n                        The private key used to sign the certificate\n  -d EXPIRY_DATE, --expiry-date EXPIRY_DATE\n                        Expiry date conforming to iso-8601 (2007-04-05T14:30Z)\n```\n\n## ssc\n\nGenerate a cert given a CA\n\n```\nusage: ssc [-h] [-a ALTERNATIVE_NAMES [ALTERNATIVE_NAMES ...]]\n           [-k PRIVATE_KEY] [-d EXPIRY_DAYS]\n           ca_key ca_cert common_name\n\nGenerate a self-signed CA\n\npositional arguments:\n  ca_key                The path to the private key for the signing CA\n  ca_cert               The path to the certificate for the signing CA\n  common_name           The certificate's common name\n\noptions:\n  -h, --help            show this help message and exit\n  -a ALTERNATIVE_NAMES [ALTERNATIVE_NAMES ...], --alternative-names ALTERNATIVE_NAMES [ALTERNATIVE_NAMES ...]\n                        Alternative names for the certificate\n  -k PRIVATE_KEY, --private-key PRIVATE_KEY\n                        The private key used to sign the certificate\n  -d EXPIRY_DAYS, --expiry-date EXPIRY_DAYS\n                        Days until ca expires\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevindunn%2Fself_signed_ca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevindunn%2Fself_signed_ca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevindunn%2Fself_signed_ca/lists"}