GnuTLS has a command line app gnutls-cli that can inspect any various SSL or TLS connections. Check it out!
On Debian, install the gnutls command line tools with:
$ sudo apt-get install gnutls-bin
Let’s check out the scottlinux.com TLS connection over port 443. The tack d is debug, and then debug level 5 here. 继续阅读