Crates.io | https-cert-info |
lib.rs | https-cert-info |
version | 0.1.0 |
source | src |
created_at | 2020-09-24 01:14:06.701386 |
updated_at | 2020-09-24 01:14:06.701386 |
description | View a summary of the HTTPS certificate for a server |
homepage | |
repository | https://github.com/liamdawson/https-cert-info/ |
max_upload_size | |
id | 292314 |
size | 48,316 |
A command-line tool outputs a summary of the HTTPS certificate (or certificate chain) for a server
cargo install https-cert-info
Download the binary from the latest release, and place it somewhere on $PATH
.
$ https-cert-info google.com
Connecting to google.com:443 (took 122ms)
Performing handshake for google.com (took 458ms)
Subject *.google.com (C=US, ST=California, L=Mountain View, O=Google LLC, CN=*.google.com)
Issued by GTS CA 1O1 (C=US, O=Google Trust Services, CN=GTS CA 1O1)
Valid from 28 days ago (2020-08-26T08:08:49Z)
Expires in 55 days (2020-11-18T08:08:49Z)
Subject Alternative Names:
*.google.com
*.android.com
*.appengine.google.com
*.bdn.dev
*.cloud.google.com
*.crowdsource.google.com
*.datacompute.google.com
*.g.co
*.gcp.gvt2.com
*.gcpcdn.gvt1.com
and 63 more.
# using SNI to request a different domain
$ https-cert-info google.com -d www.google.com
Connecting to google.com:443 (took 17ms)
Performing handshake for www.google.com (took 461ms)
Subject www.google.com (C=US, ST=California, L=Mountain View, O=Google LLC, CN=www.google.com)
Issued by GTS CA 1O1 (C=US, O=Google Trust Services, CN=GTS CA 1O1)
Valid from 28 days ago (2020-08-26T08:14:23Z)
Expires in 55 days (2020-11-18T08:14:23Z)
Subject Alternative Names:
www.google.com
MIT OR Apache-2.0