A small ruby script that use Nmap to test the TLS cipher suites used by a given host. Nmap can be used to query all the cipher suites in use (see OWASP testing guide for TLS cipher suites), and rank them. This script will run Nmap and process the output results - and will set the exit code to 1, if weak cipher suite (rank below A) found.
You can run the script using the Docker image, by running:
docker run omerl/test-ssl-cipher-suites ruby ./parse.rb hostname
.