{"id":21970330,"url":"https://github.com/guerzon/gochk","last_synced_at":"2025-03-22T22:43:00.602Z","repository":{"id":192536593,"uuid":"683346508","full_name":"guerzon/gochk","owner":"guerzon","description":"Command-line tool for various SSL/TLS stuff.","archived":false,"fork":false,"pushed_at":"2023-12-11T03:46:20.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T11:13:54.136Z","etag":null,"topics":["go","golang","ssl","tls"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/guerzon.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":"2023-08-26T09:17:14.000Z","updated_at":"2024-10-21T10:16:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a1719a1-bade-4ee3-a69d-2621d4efa34d","html_url":"https://github.com/guerzon/gochk","commit_stats":null,"previous_names":["guerzon/gotls","guerzon/go-tls-tool","guerzon/gochk"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerzon%2Fgochk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerzon%2Fgochk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerzon%2Fgochk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guerzon%2Fgochk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guerzon","download_url":"https://codeload.github.com/guerzon/gochk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245031363,"owners_count":20549913,"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","ssl","tls"],"created_at":"2024-11-29T14:38:42.678Z","updated_at":"2025-03-22T22:43:00.566Z","avatar_url":"https://github.com/guerzon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gochk\n\n[![MIT Licensed](https://img.shields.io/github/license/guerzon/gochk)](https://github.com/guerzon/vaultwarden/blob/main/LICENSE)\n[![Helm Release](https://img.shields.io/github/v/release/guerzon/gochk)](https://github.com/guerzon/gochk/releases)\n\n`gochk` is a command-line tool for various SSL/TLS tasks.\n\n## Usage\n\nDownload and run the pre-build binaries:\n\n```bash\n# todo\n```\n\nIf you have `go` installed, you can build your own binary:\n\n```bash\ngo build -o gochk main.go\n./gochk --help\n\n# using make\nmake build\n./bin/gochk --help\n```\n\nSub-commands (see [features](#features) for available commands):\n\n- `ca` - for creating your own CA.\n- `conn` - for interacting with an SSL/TLS endpoint.\n- `cert` - for working with certificate files.\n\n## Features\n\n### Creating your own CA\n\n1. Create the YAML files containing your configuration. For reference, see the example [ca configuration](./ca.yml).\n\n2. Create the private key and the CA certificate:\n\n    ```bash\n    # use all defaults:\n    ./gochk ca\n\n    # specify filenames:\n    ./gochk ca --key private.pem --cert cert.pem\n    ```\n\n## TODO\n\nThe following features are not yet implemented.\n\n### Testing a TLS endpoint\n\n1. Get the supported SSL/TLS versions.\n2. List certificate tree.\n3. Get validity information.\n4. List valid domains for the certificate.\n5. Check supported ciphers.\n\n### Working with certificates\n\nFor signing certificates using a CA from a previous section, or for inspecting a PEM-encoded certificate file.\n\n1. Check if a PEM-encoded certificate and a private key match.\n2. Print the contents of a certificate.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguerzon%2Fgochk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguerzon%2Fgochk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguerzon%2Fgochk/lists"}