{"id":24519754,"url":"https://github.com/cortiz/certview","last_synced_at":"2025-04-14T10:11:56.728Z","repository":{"id":41456992,"uuid":"509610588","full_name":"cortiz/certview","owner":"cortiz","description":"X509 Certificate viewer","archived":false,"fork":false,"pushed_at":"2022-07-04T04:48:50.000Z","size":29,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T23:24:38.213Z","etag":null,"topics":["certificate","rsa","ssl","tls"],"latest_commit_sha":null,"homepage":"","language":"Go","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/cortiz.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":"2022-07-01T23:16:27.000Z","updated_at":"2024-06-14T12:16:32.000Z","dependencies_parsed_at":"2022-08-22T19:01:01.944Z","dependency_job_id":null,"html_url":"https://github.com/cortiz/certview","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortiz%2Fcertview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortiz%2Fcertview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortiz%2Fcertview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cortiz%2Fcertview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cortiz","download_url":"https://codeload.github.com/cortiz/certview/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860190,"owners_count":21173342,"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","rsa","ssl","tls"],"created_at":"2025-01-22T01:52:19.542Z","updated_at":"2025-04-14T10:11:56.690Z","avatar_url":"https://github.com/cortiz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CertView\n\nSimple X509 Viewer\n\n## Usage\n```bash\ncertview \u003cflags\u003e [certificate Path or Host]\nOne or more certificates are needed\n\nAllowed flags\n  -allowInsecureTLS\n        Allow insecure TLS connections\n  -no-color\n        Disable color output\n  -output string\n        Ouput format (txt,json,yaml) (default \"txt\")\n  -remote\n        Given Arguments are urls an not files\n\n```\n\n### Examples\n\n**View Remote SSL**\n```bash\n./certview -remote amazon.com:443\nCertificate Information\n         Common Name: *.peg.a2z.com\n         Subject Alt Names: amazon.co.uk\n                        uedata.amazon.co.uk\n                        www.amazon.co.uk\n                        origin-www.amazon.co.uk\n                        *.peg.a2z.com\n                        amazon.com\n                        amzn.com\n                        uedata.amazon.com\n                        us.amazon.com\n                        www.amazon.com\n                        www.amzn.com\n                        corporate.amazon.com\n                        buybox.amazon.com\n                        iphone.amazon.com\n                        yp.amazon.com\n                        home.amazon.com\n                        origin-www.amazon.com\n                        origin2-www.amazon.com\n                        buckeye-retail-website.amazon.com\n                        huddles.amazon.com\n                        amazon.de\n                        www.amazon.de\n                        origin-www.amazon.de\n                        amazon.co.jp\n                        amazon.jp\n                        www.amazon.jp\n                        www.amazon.co.jp\n                        origin-www.amazon.co.jp\n                        *.aa.peg.a2z.com\n                        *.ab.peg.a2z.com\n                        *.ac.peg.a2z.com\n                        origin-www.amazon.com.au\n                        www.amazon.com.au\n                        *.bz.peg.a2z.com\n                        amazon.com.au\n                        origin2-www.amazon.co.jp\n         Not Before: 2021-10-06T00:00:00Z\n         Not After: 2022-09-19T23:59:59Z\n         Serial Number: E4239AB85E2E6A27C52C6DE9B9078D9\n         Key Usages: Digital Signature,Key Encipherment\n         Extended Key Usages: TLS Web Server Authentication,TLS Web Client Authentication\n         Issuer: CN=DigiCert Global CA G2,O=DigiCert Inc,C=US\n         sha1: 08040755C8B6852A5DB945A2B380571111DEFD2D\n         sha-256: 5BF3D7E0E6927F773D5106C822C53F6F52C199F7EB1B3B8154B41F2924391C75\n```\n\n**View Multiple Remotes, output as json**\n```bash\n./certview -remote -output json www.apple.com:443 facebook.com:443\n```\n```json\n[\n   {\n      \"commonName\":\"www.apple.com\",\n      \"altNames\":[\n         \"www.apple.com.cn\",\n         \"www.apple.com\",\n         \"images.apple.com\"\n      ],\n      \"notBefore\":\"2022-04-19T15:50:00Z\",\n      \"notAfter\":\"2023-05-19T15:49:59Z\",\n      \"keyUsages\":[\n         \"Digital Signature\",\n         \"Key Encipherment\"\n      ],\n      \"extKeyUsages\":[\n         \"TLS Web Client Authentication\",\n         \"TLS Web Server Authentication\"\n      ],\n      \"serialNumber\":\"B1C9AEACA963BA767CF0E174793B453\",\n      \"issuer\":\"CN=Apple Public EV Server RSA CA 2 - G1,O=Apple Inc.,C=US\",\n      \"fingerprints\":[\n         {\n            \"hash\":\"sha1\",\n            \"fingerprint\":\"7BB1944F565D7D64A1455C91E5BA0CEAD9FB9150\"\n         },\n         {\n            \"hash\":\"sha-256\",\n            \"fingerprint\":\"011B158BABFC7C6A1F525822F1DEF13FE905AA506BB1600BEA5BA86A13ED06CA\"\n         }\n      ]\n   },\n   {\n      \"commonName\":\"*.facebook.com\",\n      \"altNames\":[\n         \"*.facebook.com\",\n         \"*.facebook.net\",\n         \"*.fbcdn.net\",\n         \"*.fbsbx.com\",\n         \"*.m.facebook.com\",\n         \"*.messenger.com\",\n         \"*.xx.fbcdn.net\",\n         \"*.xy.fbcdn.net\",\n         \"*.xz.fbcdn.net\",\n         \"facebook.com\",\n         \"messenger.com\"\n      ],\n      \"notBefore\":\"2022-04-10T00:00:00Z\",\n      \"notAfter\":\"2022-07-09T23:59:59Z\",\n      \"keyUsages\":[\n         \"Digital Signature\"\n      ],\n      \"extKeyUsages\":[\n         \"TLS Web Server Authentication\",\n         \"TLS Web Client Authentication\"\n      ],\n      \"serialNumber\":\"983ECB02EBF097EDDBD1DEACF50D5D6\",\n      \"issuer\":\"CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US\",\n      \"fingerprints\":[\n         {\n            \"hash\":\"sha1\",\n            \"fingerprint\":\"\\\"F4D8517CBD9F9A8AE32B30920C9\"\n```\n\n**View local, output as yaml**\n```bash\n./createview -output yaml twitter.pem\n```\n```yaml\n- commonName: twitter.com\n  altNames:\n    - twitter.com\n    - www.twitter.com\n  notBefore: 2021-12-13T00:00:00Z\n  notAfter: 2022-12-12T23:59:59Z\n  keyUsages:\n    - Digital Signature\n    - Key Encipherment\n  extKeyUsages:\n    - TLS Web Server Authentication\n    - TLS Web Client Authentication\n  serialNumber: 630B4D3E1A04A3428146B4DBD1502B2\n  issuer: CN=DigiCert TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US\n  fingerprints:\n    - hash: sha1\n      fingerprint: E3BA714291A065F576752BF0E0E18A1AE363A607\n    - hash: sha-256\n      fingerprint: D5D54531D10113F2ADBDF1B862440130920C4A5D4D6D924099585802FCAFB7CB\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcortiz%2Fcertview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcortiz%2Fcertview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcortiz%2Fcertview/lists"}