chkssl.exe is a command line utility that talks to an https server and dumbs some of the ssl information
Listing directory https://download.elifulkerson.com/files/chkssl/0.4: chkssl-src.zip June 25 2020 04:02:37 17098 Zip archive data, at least v2.0 to extract chkssl-src.zip.asc June 25 2020 04:02:37 801 GnuPG signature chkssl-src.zip.md5 June 25 2020 04:02:37 49 MD5 checksum chkssl-src.zip.sha1 June 25 2020 04:02:37 57 SHA1 checksum chkssl-src.zip.sha256 June 25 2020 04:02:37 81 SHA256 checksum chkssl-src.zip.sha512 June 25 2020 04:02:37 145 SHA512 checksum chkssl.exe June 25 2020 04:02:37 12288 PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows chkssl.exe.asc June 25 2020 04:02:37 801 GnuPG signature chkssl.exe.md5 June 25 2020 04:02:37 45 MD5 checksum chkssl.exe.sha1 June 25 2020 04:02:37 53 SHA1 checksum chkssl.exe.sha256 June 25 2020 04:02:37 77 SHA256 checksum chkssl.exe.sha512 June 25 2020 04:02:37 141 SHA512 checksum ↩ Browse the download server
Usage: chkssl [-d] [-c] [-r] [-p PORT] host Flags: -p : Specify tcp port, default is 443 -a : Turns on all the extra output (except raw) -d : Include more details about the certificate -c : Include all certificates in the chain -r : Dump the raw certificate -v : Show version information -h : Show this help
C:\Users\Eli\Desktop>chkssl -d www.google.com SSL check run on: 11/20/2014 11:15:37 PM Status Start Date Expires Days Left ------- ----------------------- ---------------------- --------- VALID 11/5/2014 7:22:42 AM 2/2/2015 7:00:00 PM 75 Subject: CN=www.google.com, O=Google Inc, L=Mountain View, S=California, C=US Issuer: CN=Google Internet Authority G2, O=Google Inc, C=US Serial: 7C58699CC45A9F5F Version: 3 Format: X509 Hash: A9893C56048B0F2C846C410692735A92E98E17AD Key Algorithm: 1.2.840.113549.1.1.1 Parameters: 0500 Signature Algorithm: sha1RSA
Its .NET 4.5, so you probably need the appropriate runtime.
0.4, 23 Jun 2020. Fix to include key length, reported by David Fu
0.3, 12 Dec 2017. Better error catching when domain name is unresolvable.