{"id":17321874,"url":"https://github.com/earthboundkid/certinfo","last_synced_at":"2025-04-14T16:08:45.641Z","repository":{"id":53150559,"uuid":"151768192","full_name":"earthboundkid/certinfo","owner":"earthboundkid","description":"Get information about the certificate used at a domain","archived":false,"fork":false,"pushed_at":"2021-04-19T14:12:12.000Z","size":15,"stargazers_count":36,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T19:36:40.031Z","etag":null,"topics":["certificate","certinfo","cli","command-line-tool","go","golang","json"],"latest_commit_sha":null,"homepage":"","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/earthboundkid.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":"2018-10-05T19:26:26.000Z","updated_at":"2025-01-17T13:34:01.000Z","dependencies_parsed_at":"2022-08-26T14:22:31.658Z","dependency_job_id":null,"html_url":"https://github.com/earthboundkid/certinfo","commit_stats":null,"previous_names":["earthboundkid/certinfo","carlmjohnson/certinfo"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthboundkid%2Fcertinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthboundkid%2Fcertinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthboundkid%2Fcertinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earthboundkid%2Fcertinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earthboundkid","download_url":"https://codeload.github.com/earthboundkid/certinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240713048,"owners_count":19845589,"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","certinfo","cli","command-line-tool","go","golang","json"],"created_at":"2024-10-15T13:40:06.800Z","updated_at":"2025-02-25T17:30:50.100Z","avatar_url":"https://github.com/earthboundkid.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# certinfo [![GoDoc](https://godoc.org/github.com/carlmjohnson/certinfo?status.svg)](https://godoc.org/github.com/carlmjohnson/certinfo) [![Go Report Card](https://goreportcard.com/badge/github.com/carlmjohnson/certinfo)](https://goreportcard.com/report/github.com/carlmjohnson/certinfo)\n\nGet information about the certificate used at a domain\n\n## Installation\n\nFirst install [Go](http://golang.org).\n\nIf you just want to install the binary to your current directory and don't care about the source code, run\n\n```bash\nGOBIN=\"$(pwd)\" go install github.com/carlmjohnson/certinfo@latest\n```\n\n## Screenshots\n\n```\n$ certinfo --help\nUsage of certinfo\n\n    certinfo [options] \u003chost\u003e...\n\nOptions:\n  -expires duration\n        error if cert expiration time is less than this; use 0 to disable (default 168h0m0s)\n  -output mode\n        output mode: text, json, or none (default text)\n  -port int\n        Port to look for TLS certificates on (default 443)\n  -timeout duration\n        time out on TCP dialing (default 5s)\n  -verbose\n        log connections\n\n$ certinfo example.com\nHost: example.com:443\nCerts:\n    Issuer: DigiCert SHA2 High Assurance Server CA\n    Subject: www.example.org\n    Not Before: Nov 3, 2015 12:00 AM\n    Not After: Nov 28, 2018 12:00 PM\n    DNS names: www.example.org example.com example.edu example.net example.org www.example.com www.example.edu www.example.net\n\n$ certinfo -output json -verbose example.com\n2018/11/04 19:19:15 connecting to example.com:443\n[\n  {\n    \"Host\": \"example.com\",\n    \"Port\": 443,\n    \"Certs\": [\n      {\n        // snip many fields!\n      }\n    ]\n  }\n]\n\n$ certinfo -output none -expires 24h example.com\n\n$ certinfo -output none -expires 480h example.com\nProblem running certinfo: cert for www.example.org expires too soon: 2018-11-28T12:00:00Z less than 480h0m0s away\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthboundkid%2Fcertinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearthboundkid%2Fcertinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearthboundkid%2Fcertinfo/lists"}