{"id":38915580,"url":"https://github.com/lechgu/tinyca","last_synced_at":"2026-01-17T15:25:49.890Z","repository":{"id":45608877,"uuid":"429879098","full_name":"lechgu/tinyca","owner":"lechgu","description":"TinyCA: A simple Certificate Authority","archived":false,"fork":false,"pushed_at":"2023-12-01T21:57:09.000Z","size":19,"stargazers_count":25,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-22T18:48:14.501Z","etag":null,"topics":["certificate","ssl","tls"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lechgu.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}},"created_at":"2021-11-19T17:18:43.000Z","updated_at":"2025-08-25T11:56:18.000Z","dependencies_parsed_at":"2023-02-12T06:01:40.007Z","dependency_job_id":null,"html_url":"https://github.com/lechgu/tinyca","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lechgu/tinyca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechgu%2Ftinyca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechgu%2Ftinyca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechgu%2Ftinyca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechgu%2Ftinyca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lechgu","download_url":"https://codeload.github.com/lechgu/tinyca/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechgu%2Ftinyca/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["certificate","ssl","tls"],"created_at":"2026-01-17T15:25:49.811Z","updated_at":"2026-01-17T15:25:49.880Z","avatar_url":"https://github.com/lechgu.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyCA\n\nTinyCA is a simple Certificate Authority. using TinyCA is appropriate to generate certificates to secure non-customer facing network traffic, for instance for the gRPC micro-services.\nUpon initialization, tinyCA creates a self-signed certificate which is used subsequently for issuing and signing the child certificates.\nTinyCA runs on Windows, Mac OS X and on Linux.\n\n## Installing TinyCA\n\nThe simplest way to install TinyCA, if you have .net framework 6.0, 7.0 or 8.0 installed on the machine is to install it as a tool\n\n```\ndotnet tool install --global TinyCA\n```\n\nIt is also possible to build a self-contained standalone version of TinyCA for your platform.\nFor example, for MacOS X do\n\n```\ncd Standalone\ndotnet publish -c Release -r osx-x64 -f net8.0 -o .\n```\n\nThis will generate a binary `tinyca`. This binary will run even the .net framework is not installed on the destination machine.\n\nFor the correct values of the `-r` parameter, refer [here](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog).\n\nSpecify the .Net version with the `-f` parameter.\n\n## Running TinyCA\n\n```\ntinyca init\n```\n\nThis will create a directory `.tinyca` which contains a self-signed certificate used by the Certificate Authority. By default, the certificate is valid for 10 years.\n\nOnce you have initialized the Certificate Authority, you can issue child certificates like this\n\n```\ntinyca issue --name localhost --dns localhost --ip 127.0.0.1\n```\n\nThis creates a directory `localhost` that contains a certificate and corresponding key valid for the DNS name `localhost` and IP address `127.0.0.1`. Multiple DNS names and/or IP addresses can be provided, if desired. Such child certificate is valid, by default, for one year.\n\n## Making the system to trust certificates signed by TinyCA\n\n#### Mac OSX\n\nIn Mac Terminal, run elevated (with `sudo`):\n\n```\nsecurity add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain .tinyca/cert.pem\n```\n\n#### Windows\n\nIn the Windows terminal, run elevated (\"as administrator\"):\n\n```\ncertutil -addstore Root .tinyca\\cert.pem\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flechgu%2Ftinyca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flechgu%2Ftinyca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flechgu%2Ftinyca/lists"}