2.7 KiB
Intro
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 checks like RC4, BEAST. PFS. Displays hexcode, kx, strength, DH bits, RFC name
- TLS_FALLBACK_SCSV check -- Thx @JonnyHightower
- (HTTP) proxy support! -- Thx @jnewbigin
- Extended validation certificate detection
- Run in default mode through all ciphers at the end of a default run
- will test multiple IP adresses in one shot, --ip=<adress|"one"> restricts it accordingly
- can scan STARTTLS+XMPP by also supplying the XMPP domain (to-option in XML streams).
- support of sockets for STARTTLS protocols (with exception of SSLv2 you need to supply EXPERIMENTAL=yes)
- TLS time for STARTTLS protocols
- TLS 1.0-1.1 as socket per default in production
- binary directory provides out of the box better binaries (Linux 32+64 Bit, Darwin 64 bit)
- LibreSSL fixes, still not recommended to use though (see https://testssl.sh/)
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. This is imprtant to me
Please file bug reports @ https://github.com/drwetter/testssl.sh/issues .
Update notification here or @ twitter.