/testssl.sh

Testing TLS/SSL encryption

Primary LanguageShellGNU General Public License v2.0GPL-2.0

Intro

Gitter

testssl.sh is a free command line tool which checks a server's service on any port for the support of TLS/SSL ciphers, protocols as well as some cryptographic flaws. It's designed to provide clear output for your "is this good or bad" decision.

It is working on every Linux distribution out of the box with some limitations of disabled features from the openssl client -- some workarounds are done with bash-socket-based checks. It also works on BSD and other Unices out of the box, supposed they have /bin/bash and standard tools like sed and awk installed. MacOS X and Windows (using MSYS2) work too. OpenSSL version >= 1 is highly recommended. OpenSSL version >= 1.0.2 is needed for better LOGJAM checks and to display bit strengths for key exchanges.

On github you will find in the master branch the development version of the software -- with new features and maybe some bugs. For the stable version and a more thorough description of the software please see testssl.sh.

New features in the upcoming stable release 2.6 are:

  • display matching key (HPKP)
  • LOGJAM 1: check DHE_EXPORT cipher
  • LOGJAM 2: displays DH(/ECDH) bits in wide mode on negotiated ciphers
  • "wide mode" option for several checks (RC4, BEAST. PFS). Displays hexcode, kx, strength, DH bits, RFC name
  • TLS_FALLBACK_SCSV check
  • (HTTP) proxy support
  • Run in default mode through all ciphers at the end of a default run
  • can test multiple IP adresses in one shot
  • can scan STARTTLS+XMPP by also supplying the xmpp-domain (to-option in XML streams)
  • TLS 1.0-1.1 as socket per default in production

more see https://github.com/drwetter/testssl.sh/milestones/2.5dev%20%282.6%29

Contributions, feedback, also bug reports are welcome! For contributions please note: One patch per feature -- bug fix/improvement. Please test your changes thouroughly as reliability is important for this project.

Please file bug reports @ https://github.com/drwetter/testssl.sh/issues .

Update notification here or @ twitter.