{"id":16355114,"url":"https://github.com/valicm/testssl","last_synced_at":"2025-10-24T14:37:37.918Z","repository":{"id":72462259,"uuid":"266523711","full_name":"valicm/testssl","owner":"valicm","description":"testssl generate self signed certificates for local development purposes.","archived":false,"fork":false,"pushed_at":"2020-10-02T19:01:15.000Z","size":27,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T20:10:46.750Z","etag":null,"topics":["certificate-authority","certificates","golang","https","local-development","pem","pem-key","self-signed-certificate","ssl-certificates","testssl"],"latest_commit_sha":null,"homepage":"http://www.vallic.com","language":"Go","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/valicm.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":"2020-05-24T11:08:41.000Z","updated_at":"2023-12-12T06:44:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7adf230-e50b-4f03-8077-c9cff00e8ad0","html_url":"https://github.com/valicm/testssl","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"0e1976834b60957abe246fa99591cd1022547ad3"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Ftestssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Ftestssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Ftestssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Ftestssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valicm","download_url":"https://codeload.github.com/valicm/testssl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238254108,"owners_count":19441788,"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-authority","certificates","golang","https","local-development","pem","pem-key","self-signed-certificate","ssl-certificates","testssl"],"created_at":"2024-10-11T01:39:13.662Z","updated_at":"2025-10-24T14:37:37.833Z","avatar_url":"https://github.com/valicm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# testssl\n\ntestssl generate self signed certificates for local development purposes.\n\n# Features\n- generates wildcard x509 certificates which covers *.domain.tld and domain.tld.\n- outputs root authority and domain/server CA\n- 10 years validity\n- fallback to use `.test` as TLD if you don't input any specific TLD (https://tools.ietf.org/html/rfc6761)\n \n# Usage\n- `testssl --domain=example` - generates CA for example.test in ssl subfolder\n- `testssl --domain=mylocal.loc --dir=site` - generates CA for mylocal.loc in folder site\n- `testssl --domain=mydoman.test --dir=` - does not output any files\n- `ssl.GenerateCert(\"mydomain_name\", \"\")` - if you use from other package but don't want to generate files\n\n# How to use root CA\n- import root CA in your browser \n- Firefox -\u003e open in browser tab about:preferences#privacy, click View Certificates and click Import -\u003e select rootCA.pem\n- Chrome -\u003e open in browser tab chrome://settings/certificates?search=authorities and click Import -\u003e select rootCA.pem\n\nor \n\n- MacOS - import PEM trough keychain on MacOS and mark as trusted\n- Ubuntu - as root CA on Ubuntu (you need to convert PEM to CRT).\n`openssl x509 -in rootCA.pem -inform PEM -out rootCA.crt`\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Ftestssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalicm%2Ftestssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Ftestssl/lists"}