CINXE.COM

/bin/bash based SSL/TLS tester: testssl.sh

<!doctype html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="index,follow"> <meta name="description" content="TLS/SSL security testing with Open Source Software"> <title>/bin/bash based SSL/TLS tester: testssl.sh</title> <style type="text/css"> a, a:active {text-decoration:none; color:blue;} a:visited {color: blue;} a:hover, a:focus {text-decoration:none; color:#95C11F; border-bottom:1px dotted #95C11F; } body {background-color:white; color:#222222; } h1 { font-size: 1.5em; color:#95C11F; font-weight:bold; } h1, img { margin: 0.7em 0 0 0em; display: inline-block; vertical-align:middle; } h2 {margin-bottom: 1px; font-size:1.0em; display:inline; } table {margin-left: 12px; padding:0px; border-collapse:collapse;} th, td { font-family: "Courier New", Courier, monospace; font-size: 10pt; text-align: left;} th { font-weight: bold; padding-right:14px; padding-bottom:3px;} td {padding-right: 14px;} td.s, th.s {text-align: right;} div.list { background-color:#F7F7F7; border:0px; margin-top:15px; padding-top:5px; padding-bottom:10px;} div.foot, div.script_title { font-size:10pt; color:#787878; padding-top:4px;} div.script_title {float:right;text-align:right;font-size:8pt;color:#999;} </style> <link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/manifest.json"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> <style media="screen" type="text/css"> pre { overflow: auto; background-color: #F0F0F0; color: #444; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; padding: 2px 0px 4px 4px; box-shadow: 0px 2px 2px 1px #AAAAAA; border: 1px solid; border-color: #CCCCCC; margin: 15px 2px 15px 2px; } tt { background-color: #FAFAFA; color: #25880F; padding-left: 6px; padding-right: 6px; } img { box-shadow: 0px 5px 5px 5px #AAAAAA; z-index:5; border: 0px solid; margin-left:15px; margin-bottom:10px; margin-top:10px; margin-right:15px; } .zoom img { -moz-transition:-moz-transform 0.5s ease-in; -webkit-transition:-webkit-transform 0.5s ease-in; -o-transition:-o-transform 0.5s ease-in; } .zoom img:hover { -moz-transform:scale(2); -webkit-transform:scale(2); -o-transform:scale(2); } .warning { background:#fff8c4 10px 50%; border:1px solid #f2c779; border-radius: 10px; color: #555; font-family: Tahoma,Geneva,Arial,sans-serif; font-size: 14px; margin: 10px; padding: 10px 36px; } /* http://cssdeck.com/labs/navigation-dropdown-with-flip-effect Giuseppe Gerbino */ .box { padding: 2px; padding-left: 10px; width: 175px; height: 30px; position: absolute; left: 18px; margin: 5; background: #95C11F; box-shadow: 0px 2px 1px 0px #AAAAAA; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; display: block; font: 14px/30px arial, sans-serif; text-align: left; text-decoration: none; color: #FFF; } .rolledout { margin-bottom: 15px; } .rolledout li { list-style-type: none; width: 850px; height: 20px; white-space: nowrap; background: #F0F0F0; font: normal 13px/30px arial, sans-serif !important; color: #444; text-align: left; padding-left: 26px; text-indent: -18px; margin: 0; } .navigation, .navigation a.main { border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; } .navigation { list-style-type: none; padding: 2px; padding-left: 10px; width: 175px; height: 30px; position: absolute; left: 18px; margin: 5px; box-shadow: 0px 2px 1px 0px #AAAAAA; background: #95C11F; } .navigation:hover, .navigation:hover a.main { border-radius: 4px 4px 0 0; -webkit-border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; } .navigation a.main { display: block; height: 30px; font: 14px/30px arial, sans-serif; text-align: left; text-decoration: none; color: #FFF; -webkit-transition: 0.2s ease-in-out; -o-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .navigation:hover a.main { color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.04); } .navigation li { width: 850px; height: 22px; background-color: #F7F7F7; position:relative; font: normal 12px/32px arial, sans-serif !important; padding-left: 26px; color: #444; text-align: left; margin: 0; z-index: 333; -webkit-transform-origin: 50% 0%; -o-transform-origin: 50% 0%; transform-origin: 50% 0%; -webkit-transform: perspective(350px) rotateX(-90deg); -o-transform: perspective(350px) rotateX(-90deg); transform: perspective(350px) rotateX(-90deg); box-shadow: 0px 2px 10px rgba(0,0,0,0.05); -webkit-box-shadow: 0px 2px 10px rgba(0,0,0,0.05); -moz-box-shadow: 0px 2px 10px rgba(0,0,0,0.05); } .navigation li:nth-child(even) { background: #F0F0F0; } .navigation li:nth-child(odd) { background: #EFEFEF; } /* .navigation li.n1 { -webkit-transition: 0.2s linear 0.8s; -o-transition: 0.2s linear 0.8s; transition: 0.2s linear 0.8s; } .navigation li.n2 { -webkit-transition: 0.2s linear 0.6s; -o-transition: 0.2s linear 0.6s; transition: 0.2s linear 0.6s; } .navigation li.n3 { -webkit-transition: 0.2s linear 0.4s; -o-transition: 0.2s linear 0.4s; transition: 0.2s linear 0.4s; } .navigation li.n4 { -webkit-transition:0.2s linear 0.2s; -o-transition:0.2s linear 0.2s; transition:0.2s linear 0.2s; } .navigation li.n5 { border-radius: 0px 0px 4px 4px; -webkit-transition: 0.2s linear 0s; -o-transition: 0.2s linear 0s; transition: 0.2s linear 0s; } */ .navigation:hover li { -webkit-transform: perspective(350px) rotateX(0deg); -o-transform: perspective(350px) rotateX(0deg); transform: perspective(350px) rotateX(0deg); -webkit-transition:0.1s linear 0s; -o-transition:0.1s linear 0s; transition:0.1s linear 0s; } /* .navigation:hover .n2 { -webkit-transition-delay: 0.2s; -o-transition-delay: 0.2s; transition-delay: 0.2s; } .navigation:hover .n3 { -webkit-transition-delay: 0.3s; -o-transition-delay: 0.3s; transition-delay: 0.3s; } .navigation:hover .n4 { -webkit-transition-delay: 0.4s; -o-transition-delay: 0.4s; transition-delay: 0.4s; } .navigation:hover .n5 { -webkit-transition-delay: 0.5s; -o-transition-delay: 0.5s; transition-delay: 0.5s; } .navigation:hover .n6 { -webkit-transition-delay: 0.6s; -o-transition-delay: 0.6s; transition-delay: 0.6s; } .navigation:hover .n7 { -webkit-transition-delay: 0.7s; -o-transition-delay: 0.7s; transition-delay: 0.7s; } .navigation:hover .n8 { -webkit-transition-delay: 0.8s; -o-transition-delay: 0.8s; transition-delay: 0.8s; } .navigation:hover .n9 { -webkit-transition-delay: 0.9s; -o-transition-delay: 0.9s; transition-delay: 0.9s; } .navigation:hover .n10 { -webkit-transition-delay: 0.10s; -o-transition-delay: 0.10s; transition-delay: 0.10s; } .navigation:hover .n11 { -webkit-transition-delay: 0.11s; -o-transition-delay: 0.11s; transition-delay: 0.11s; } */ </style> <meta name="theme-color" content="#ffffff"> </head> <body> <section><img src="testssl-icon.png" alt="testssl icon" style="height:32px; width:32px; float: left; box-shadow: 0px 0px 0px 0px;"><h1>Testing TLS/SSL encryption</h1></section> <br> <h2>testssl.sh</h2> is a <a href='LICENSE.txt' title='GPL v2'>free</a> command line tool which checks a server's service on any port for the support of TLS/SSL ciphers, protocols as well as recent cryptographic flaws and more. <br> <br> <div class='list'> <table><thead><tr><th class='n'><a href='?sort=name&amp;order=desc'>Name</a></th><th class='n'><a href='?sort=modtime'>Last Modified</a></th><th class='n'><a href='?sort=size'>Size</a></th><th class='n'><a href='?sort=file_type'>Type</a></th></tr></thead><tbody><tr><td class='n'><a href='2.6'>2.6</a>/</td><td class='m'>2018-Nov-15 22:02:23</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='2.8'>2.8</a>/</td><td class='m'>2018-Nov-15 22:46:12</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='2.9.5'>2.9.5</a>/</td><td class='m'>2020-Jan-23 22:04:09</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='bin'>bin</a>/</td><td class='m'>2022-Nov-22 16:48:47</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='bleichenbacher'>bleichenbacher</a>/</td><td class='m'>2018-Feb-23 18:00:33</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='contributed_binaries'>contributed_binaries</a>/</td><td class='m'>2025-Apr-01 12:29:08</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='doc'>doc</a>/</td><td class='m'>2022-Nov-22 16:50:07</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='etc'>etc</a>/</td><td class='m'>2022-Nov-22 16:49:13</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td class='n'><a href='utils'>utils</a>/</td><td class='m'>2022-Nov-22 16:49:53</td><td class='s'>-- </td><td class='t'>Directory</td></tr><tr><td colspan='4' style='height:7px;'></td></tr><tr><td class='n'><a href='CHANGELOG.md'>CHANGELOG.md</a></td><td class='m'>2022-Sep-29 08:40:32</td><td class='s'>17.20KB </td><td class='t'>MD File</td></tr><tr><td class='n'><a href='CONTRIBUTING.md'>CONTRIBUTING.md</a></td><td class='m'>2022-Sep-29 08:40:32</td><td class='s'>728.00B </td><td class='t'>MD File</td></tr><tr><td class='n'><a href='CREDITS.md'>CREDITS.md</a></td><td class='m'>2022-Sep-29 08:40:32</td><td class='s'>3.90KB </td><td class='t'>MD File</td></tr><tr><td class='n'><a href='Dockerfile'>Dockerfile</a></td><td class='m'>2022-Sep-29 08:40:32</td><td class='s'>585.00B </td><td class='t'>Unknown File</td></tr><tr><td class='n'><a href='Dockerfile.git'>Dockerfile.git</a></td><td class='m'>2022-Sep-29 08:40:32</td><td class='s'>681.00B </td><td class='t'>GIT File</td></tr><tr><td class='n'><a href='Dockerfile.md'>Dockerfile.md</a></td><td class='m'>2022-Sep-29 08:40:32</td><td class='s'>1.53KB </td><td class='t'>MD File</td></tr><tr><td class='n'><a href='LICENSE.txt'>LICENSE.txt</a></td><td class='m'>2014-May-03 11:04:22</td><td class='s'>17.59KB </td><td class='t'>TXT Type Document</td></tr><tr><td class='n'><a href='Readme.md'>Readme.md</a></td><td class='m'>2025-Jan-06 13:18:22</td><td class='s'>6.41KB </td><td class='t'>MD File</td></tr><tr><td class='n'><a href='openssl-iana.mapping.html'>openssl-iana.mapping.html</a></td><td class='m'>2024-Nov-22 10:19:52</td><td class='s'>61.11KB </td><td class='t'>HTML File</td></tr><tr><td class='n'><a href='testssl.sh'>testssl.sh</a></td><td class='m'>2025-Apr-10 02:22:02</td><td class='s'>1002.36KB </td><td class='t'>SH File</td></tr><tr><td class='n'><a href='testssl.sh-3.0.6.tar.gz'>testssl.sh-3.0.6.tar.gz</a></td><td class='m'>2021-Oct-03 19:07:15</td><td class='s'>8.82MB </td><td class='t'>GZ Compressed Archive</td></tr><tr><td class='n'><a href='testssl.sh-3.0.6.tar.gz.asc'>testssl.sh-3.0.6.tar.gz.asc</a></td><td class='m'>2021-Oct-03 19:07:15</td><td class='s'>488.00B </td><td class='t'>ASC File</td></tr><tr><td class='n'><a href='testssl.sh-3.0.7.tar.gz'>testssl.sh-3.0.7.tar.gz</a></td><td class='m'>2022-Feb-19 14:59:59</td><td class='s'>8.79MB </td><td class='t'>GZ Compressed Archive</td></tr><tr><td class='n'><a href='testssl.sh-3.0.7.tar.gz.asc'>testssl.sh-3.0.7.tar.gz.asc</a></td><td class='m'>2022-Feb-19 14:59:59</td><td class='s'>488.00B </td><td class='t'>ASC File</td></tr><tr><td class='n'><a href='testssl.sh-3.0.8.tar.gz'>testssl.sh-3.0.8.tar.gz</a></td><td class='m'>2022-Sep-29 08:46:37</td><td class='s'>17.59MB </td><td class='t'>GZ Compressed Archive</td></tr><tr><td class='n'><a href='testssl.sh-3.0.8.tar.gz.asc'>testssl.sh-3.0.8.tar.gz.asc</a></td><td class='m'>2022-Sep-29 08:46:32</td><td class='s'>488.00B </td><td class='t'>ASC File</td></tr><tr><td class='n'><a href='testssl.sh-3.0.9.tar.gz'>testssl.sh-3.0.9.tar.gz</a></td><td class='m'>2024-Jun-13 19:02:46</td><td class='s'>8.95MB </td><td class='t'>GZ Compressed Archive</td></tr><tr><td class='n'><a href='testssl.sh-3.0.9.tar.gz.asc'>testssl.sh-3.0.9.tar.gz.asc</a></td><td class='m'>2024-Jun-13 19:04:07</td><td class='s'>488.00B </td><td class='t'>ASC File</td></tr><tr><td class='n'><a href='testssl.sh.asc'>testssl.sh.asc</a></td><td class='m'>2021-Oct-03 19:07:15</td><td class='s'>488.00B </td><td class='t'>ASC File</td></tr><tr><td class='n'><a href='testssl_german_owasp_day.pdf'>testssl_german_owasp_day.pdf</a></td><td class='m'>2018-Nov-18 13:53:38</td><td class='s'>1.11MB </td><td class='t'>PDF Type Document</td></tr></tbody> </table> </div><br> <script type="text/javascript" nonce="48208593b84a915eb6f121b890167391"> document.writeln("<img src='testssl-standard50.jpg' alt='Standard call: testssl.sh &lt;hostname&gt;' id='img1' style='float:right' onmouseover='mouseOverImage1()' onmouseout='mouseOutImage1()'>"); function mouseOverImage1() { document.getElementById("img1").src = "testssl-standard.jpg"; } function mouseOutImage1() { document.getElementById("img1").src = "testssl-standard50.jpg"; } </script> <noscript> <div class="zoom"> <img src="/testssl-standard.png" style="height:951px; width:556px; float:right" alt="Standard call: testssl.sh"> </div> </noscript> <h3 id="key_features">Key features</h3> <ul> <li>Clear output: you can tell easily whether anything is good or bad</li> <li>Ease of installation: Works for Linux, Mac OSX, FreeBSD, NetBSD and WSL/MSYS2/Cygwin out of the box: no need to install or configure something, no gems, CPAN, pip or the like. OpenBSD only needs bash to be postinstalled.</li> <li>Alternatively a <a href="https://testssl.sh/Dockerfile">Dockerfile</a> is provided or you can just use <tt>docker run --rm -ti drwetter/testssl.sh <your_cmd_line></tt> <li>Flexibility: You can test any SSL/TLS enabled and STARTTLS service, not only webservers at port 443</li> <li>Toolbox: Several command line options help you to run <i>your</i> test and configure <i>your</i> output</li> <li>Reliability: features are tested thoroughly </li> <li>Verbosity: If a particular check cannot be performed because of a missing capability on your client side, you'll get a warning</li> <li>Privacy: It's only you who sees the result, not a third party</li> <li>Freedom: It's 100% open source. You can look at the code, see what's going on and you can change it. Heck, even the development is open (github)</li> <li>Documentation: In <a href="/doc/testssl.1.html">HTML</a>, markdown or groff format </li> </ul> <h3 id="license">License</h3> <code>testssl.sh</code> is free and open source software. You can use it under the terms of GPLv2, please review the <a href='LICENSE.txt' title='GPLv2'>License</a> before using it. <br><br> Attribution is important for the future of this project -- also in the internet. Thus if you're offering a scanner based on testssl.sh as a public and/or paid service in the internet you are strongly encouraged to mention to your audience that you're using this program and where to get this program from. That helps us to get bugfixes, other feedback and more contributions. <br> <br> <h3 id="donations">Donations</h3> If you like this software, you or your company uses it a lot or even your company makes money from any service around testssl.sh, why not support the project with a donation? It helps keeping the project alive and kicking. <br> <br> Dirk setup a paypal account for it, keeps track of the money and makes sure it is spend on project related activities. <br> <br> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="PSZA4DAP5DZGA"> <input type="image" src="https://testssl.sh/paypal_btn_donate.gif" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button"> <img src="https://testssl.sh/paypal-testssl.QR-Code.png" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal"> </form> <br> <br> If you want a deductable commercial invoice in return please <a href="https://drwetter.eu/kontakt" target="_blank" title="contact form with OpenPGP encryption on my business web site (sorry, it's in German. Fields should be self-explanatory)">get in touch with me</a> <b>before</b> using paypal. <br> <br> <h3 id="development">Development</h3> <p> <a href="https://github.com/testssl/testssl.sh" target="_blank"><img src="GitHub-Mark-64px.png" alt="github" style="float: left; box-shadow: 0px 0px 0px 0px;" ></a> Development takes place at <a href="https://github.com/testssl/testssl.sh" target="_blank">github</a>. We're now @ 3.2rc4 (stable) and 3.0.9 (oldstable). As of 2024, <b>you should use the latest 3.2 version, or the oldstable 3.0.9. </b> 2.9.5 is not supported anymore. As I do releases on github you can pull the zip for a stable release from there.<br> </p> <br> <h4 id="maintenance">Support status</h3> <p> Supported will always be the current dev version and the version before (n-1 rule). As soon as the dev version becomes the stable release, this will be the n-1 version and receives bugfixes only. The dev version has historically not delivered really broken software (no facebook paradigm). Consider it like a rolling release: It'll definitely change-- that is the point of development-- things might break for you if you e.g. expect the output or features all to be the same. But other than that: The dev version itself won't break (TM). </p> <p> 3.2 is now the version which we'll focus on. There may or maybe not a 3.0.10 release. We'll focus on 3.2 which evolved from 3.1dev. After the final release of 3.2 this will also formally become the stable, last supported version. Development will take place in 3.3dev then. </p> <br> <br> <b><u>Jun 13,2024:</u></b> <span style="color:#556100">Version 3.0.9, see <a href="https://github.com/testssl/testssl.sh/releases/tag/v3.0.9" target="_blank">3.0.9 @ github</a> or <a href=testssl.sh-3.0.9.tar.gz>here</a>(<a href=testssl.sh-3.0.9.tar.gz.asc>signature</a>) .</span> <br> <br> <b><u>Oct 10,2023:</u></b> After several non-tagged and not labelled rc versions a now <span style="color:#556100">version 3.2rc3 was released, see <a href="https://github.com/testssl/testssl.sh/releases/tag/v3.2rc3" target="_blank">3.2rc3 @ github</a></span> <br> <br> <b><u>Sep 19,2022:</u></b> <span style="color:#556100">Version 3.0.8, see <a href="https://github.com/testssl/testssl.sh/releases/tag/v3.0.8" target="_blank">3.0.8 @ github</a> or <a href=testssl.sh-3.0.8.tar.gz>here</a>(<a href=testssl.sh-3.0.8.tar.gz.asc>signature</a>) .</span> <br> <br> <b><u>Feb 19,2022:</u></b> <span style="color:#556100">Version 3.0.7, see <a href="https://github.com/testssl/testssl.sh/releases/tag/v3.0.7" target="_blank">3.0.7 @ github</a> or <a href=testssl.sh-3.0.7.tar.gz>here</a>(<a href=testssl.sh-3.0.7.tar.gz.asc>signature</a>) .</span> <br> [..] <br> <b><u>Jan 23,2020:</u></b> <span style="color:#556100">Version 3.0 release, see <a href="https://github.com/testssl/testssl.sh/releases/" target="_blank">3.0 @ github</a>.</span> It's been a long rolling release candidate phase since the first 3.0 RC version. <!-- <b><u>Dec 11,2019:</u></b> <span style="color:#95C11F">Version 3.0 Release Candidate 6 of has been made public, see <a href="https://github.com/testssl/testssl.sh/releases/tag/3.0rc6" target="_blank">3.0rc6 @ github</a>. (Please note the banner accidentially shows still 3.0rc5.) </span> <br> <b><u>Apr 25,2019:</u></b> <span style="color:#95C11F">Version 3.0 Release Candidate 5 of has been made public, see <a href="https://github.com/testssl/testssl.sh/releases/tag/3.0rc5" target="_blank">3.0rc5 @ github</a> </span> <br> <b><u>Feb 2,2019:</u></b> <span style="color:#95C11F">Version 3.0 Release Candidate 4 of has been made public, see <a href="https://github.com/testssl/testssl.sh/releases/tag/3.0rc4" target="_blank">3.0rc4 @ github</a> </span> <br> <b><u>Nov 11,2018:</u></b> <span style="color:#95C11F">Release Candidate 3 of version 3.0 has been made public, see <a href="https://github.com/testssl/testssl.sh/releases/tag/3.0rc3" target="_blank">3.0rc3 @ github</a> </span> <br> <b><u>Oct 9,2018:</u></b> <span style="color:#95C11F">Release Candidate 2 of version 3.0 has been made public, see <a href="https://github.com/testssl/testssl.sh/releases/tag/3.0rc2" target="_blank">3.0rc2 @ github</a> </span> --> <br> <br> <b><u>Dec 12, 2017:</u></b> <span style="color:#556100"> ROBOT / Bleichenbacher check has been implemented. </span>. Read more about this old+new attack @ <a href="https://robotattack.org" target="_blank">robotattack.org</a>. Please checkout <a href="https://github.com/testssl/testssl.sh/" target="_blank">2.9dev @ github</a>. I compiled also some info <a href="/bleichenbacher" target="_blank">here</a>, including an Alexa Top 10k scan and some background information. <br> <br> <b><u>Sep 19,2017:</u></b> <span style="color:#556100">Version 2.9.5 has been released.</span> Please checkout <a href="https://github.com/testssl/testssl.sh/tree/2.9.5" target="_blank">2.9.5 @ github</a> or download it from <a href="testssl.sh" target="_blank">here</a>, you need the <a href="etc+doc.tar.gz">etc tar ball</a> as well. <br> <br> <h3>Screenshots /Pictures here</h3> The pictures are still from an older version of testssl.sh. This will be updated later. It should suffice to get a picture though. <br> <br> <h3>Longer read</h3> <code>testssl.sh</code> is pretty much portable/compatible. It is working on every Linux, Mac OS X, FreeBSD distribution, on MSYS2/Cygwin (slow). It is supposed also to work on any other unixoid systems. A newer OpenSSL version (1.0) is recommended though. <code>/bin/bash</code> is a prerequisite &ndash; otherwise there would be no sockets. <br> <br> Speaking of it: Since version 2.4 some of the checks were done with bash sockets. This improved gradually and from 2.9.5 on almost every check is done with bash sockets. Still OpenSSL is needed for some core functions like <code>openssl &lt;verify|ocsp|pkey&gt;</code> . In principle any OpenSSL or even LibreSSL can be used as a helper. It's recommended to use the one supplied as it makes sure special tests or features like IPv6, proxy support, STARTTLS MySQL or PostgreSQL are supported. (The one supplied stems originally from <a target="_blank" href="https://github.com/PeterMosmans/openssl">github.com/PeterMosmans/openssl</a>. <i>openssl-1.0.2k-chacha.pm.ipv6.Linux+FreeBSD.tar.gz</i> is a Linux- and FreeBSD-only tarball. The directory <i>openssl-1.0.2i-chacha.pm.ipv6.contributed/</i> contains contributed builds for ARM7l and Darwin binaries). <br> <h4 id="download">Download shortcuts</h4> Note the following features are supported by the webserver configuration: <ul> <li> <code> curl -L https://testssl.sh </code> or&nbsp;<code> wget -O - https://testssl.sh </code> pulls the current stable code from here</li> <li> <code> curl -L https://testssl.sh/dev/ </code> or&nbsp;<code> wget -O - https://testssl.sh/dev/ </code> pulls the current development code from github</li> </ul> &ndash; each to standard output. Please note however that from 2.9dev on you need the <i>mandatory</i> files in <tt>etc/</tt> though, see <a target="_blank" href="https://github.com/testssl/testssl.sh/tree/3.0/etc">https://github.com/testssl/testssl.sh/tree/3.0/etc</a>. <br><br> <h4 id="usage">Usage</h4> The normal use case is probably just <tt>testssl.sh &lt;hostname&gt;</tt>, see first picture right hand above (a deliberately bad configuration). <br> <br> Starting <tt>testssl.sh</tt> with no params will give you a general idea how to use it: <pre>userid@<strong>somehost</strong>:~ % testssl.sh &quot;testssl.sh [options] &lt;URI&gt;&quot; or &quot;testssl.sh &lt;options&gt;&quot; &quot;testssl.sh &lt;options&gt;&quot;, where &lt;options&gt; is: --help what you&apos;re looking at -b, --banner displays banner + version of testssl.sh -v, --version same as previous -V, --local pretty print all local ciphers -V, --local &lt;pattern&gt; which local ciphers with &lt;pattern&gt; are available? If pattern is not a number: word match &lt;pattern&gt; is always an ignore case word pattern of cipher hexcode or any other string in the name, kx or bits &quot;testssl.sh &lt;URI&gt;&quot;, where &lt;URI&gt; is: &lt;URI&gt; host|host:port|URL|URL:port port 443 is default, URL can only contain HTTPS protocol) &quot;testssl.sh [options] &lt;URI&gt;&quot;, where [options] is: -t, --starttls &lt;protocol&gt; Does a default run against a STARTTLS enabled &lt;protocol, protocol is &lt;ftp|smtp|lmtp|pop3|imap|xmpp|telnet|ldap|nntp|postgres|mysql&gt; --xmpphost &lt;to_domain&gt; For STARTTLS enabled XMPP it supplies the XML stream to-&apos;&apos; domain -- sometimes needed --mx &lt;domain/host&gt; Tests MX records from high to low priority (STARTTLS, port 25) --file/-iL &lt;fname&gt; Mass testing option: Reads one testssl.sh command line per line from &lt;fname&gt;. Can be combined with --serial or --parallel. Implicitly turns on &quot;--warnings batch&quot;. Text format 1: Comments via # allowed, EOF signals end of &lt;fname&gt; Text format 2: nmap output in greppable format (-oG), 1 port per line allowed --mode &lt;serial|parallel&gt; Mass testing to be done serial (default) or parallel (--parallel is shortcut for the latter) --warnings &lt;batch|off&gt; &quot;batch&quot; doesn&apos;t continue when a testing error is encountered, off continues and skips warnings --connect-timeout &lt;seconds&gt; useful to avoid hangers. Max &lt;seconds&gt; to wait for the TCP socket connect to return --openssl-timeout &lt;seconds&gt; useful to avoid hangers. Max &lt;seconds&gt; to wait before openssl connect will be terminated single check as &lt;options&gt; (&quot;testssl.sh URI&quot; does everything except -E and -g): -e, --each-cipher checks each local cipher remotely -E, --cipher-per-proto checks those per protocol -s, --std, --standard tests certain lists of cipher suites by strength -p, --protocols checks TLS/SSL protocols (including SPDY/HTTP2) -g, --grease tests several server implementation bugs like GREASE and size limitations -S, --server-defaults displays the server&apos;s default picks and certificate info -P, --server-preference displays the server&apos;s picks: protocol+cipher -x, --single-cipher &lt;pattern&gt; tests matched &lt;pattern&gt; of ciphers (if &lt;pattern&gt; not a number: word match) -c, --client-simulation test client simulations, see which client negotiates with cipher and protocol -h, --header, --headers tests HSTS, HPKP, server/app banner, security headers, cookie, reverse proxy, IPv4 address -U, --vulnerable tests all (of the following) vulnerabilities (if applicable) -H, --heartbleed tests for Heartbleed vulnerability -I, --ccs, --ccs-injection tests for CCS injection vulnerability -T, --ticketbleed tests for Ticketbleed vulnerability in BigIP loadbalancers -BB, --robot tests for Return of Bleichenbacher&apos;s Oracle Threat (ROBOT) vulnerability -R, --renegotiation tests for renegotiation vulnerabilities -C, --compression, --crime tests for CRIME vulnerability (TLS compression issue) -B, --breach tests for BREACH vulnerability (HTTP compression issue) -O, --poodle tests for POODLE (SSL) vulnerability -Z, --tls-fallback checks TLS_FALLBACK_SCSV mitigation -W, --sweet32 tests 64 bit block ciphers (3DES, RC2 and IDEA): SWEET32 vulnerability -A, --beast tests for BEAST vulnerability -L, --lucky13 tests for LUCKY13 -F, --freak tests for FREAK vulnerability -J, --logjam tests for LOGJAM vulnerability -D, --drown tests for DROWN vulnerability -f, --pfs, --fs, --nsa checks (perfect) forward secrecy settings -4, --rc4, --appelbaum which RC4 ciphers are being offered? tuning / connect options (most also can be preset via environment variables): --fast omits some checks: using openssl for all ciphers (-e), show only first preferred cipher. -9, --full includes tests for implementation bugs and cipher per protocol (could disappear) --bugs enables the &quot;-bugs&quot; option of s_client, needed e.g. for some buggy F5s --assume-http if protocol check fails it assumes HTTP protocol and enforces HTTP checks --ssl-native fallback to checks with OpenSSL where sockets are normally used --openssl &lt;PATH&gt; use this openssl binary (default: look in $PATH, $RUN_DIR of testssl.sh) --proxy &lt;host:port|auto&gt; (experimental) proxy connects via &lt;host:port&gt;, auto: values from $env ($http(s)_proxy) -6 also use IPv6. Works only with supporting OpenSSL version and IPv6 connectivity --ip &lt;ip&gt; a) tests the supplied &lt;ip&gt; v4 or v6 address instead of resolving host(s) in URI b) arg &quot;one&quot; means: just test the first DNS returns (useful for multiple IPs) -n, --nodns &lt;min|none&gt; if &quot;none&quot;: do not try any DNS lookups, &quot;min&quot; queries A, AAAA and MX records --sneaky leave less traces in target logs: user agent, referer --ids-friendly skips a few vulnerability checks which may cause IDSs to block the scanning IP --phone-out allow to contact external servers for CRL download and querying OCSP responder --add-ca &lt;cafile&gt; path to &lt;cafile&gt; or a comma separated list of CA files enables test against additional CAs. --basicauth &lt;user:pass&gt; provide HTTP basic auth information. output options (can also be preset via environment variables): --quiet don&apos;t output the banner. By doing this you acknowledge usage terms normally appearing in the banner --wide wide output for tests like RC4, BEAST. PFS also with hexcode, kx, strength, RFC name --show-each for wide outputs: display all ciphers tested -- not only succeeded ones --mapping &lt;openssl| openssl: use the OpenSSL cipher suite name as the primary name cipher suite name form (default) iana|rfc -&gt; use the IANA/(RFC) cipher suite name as the primary name cipher suite name form no-openssl| -&gt; don&apos;t display the OpenSSL cipher suite name, display IANA/(RFC) names only no-iana|no-rfc&gt; -&gt; don&apos;t display the IANA/(RFC) cipher suite name, display OpenSSL names only --color &lt;0|1|2|3&gt; 0: no escape or other codes, 1: b/w escape codes, 2: color (default), 3: extra color (color all ciphers) --colorblind swap green and blue in the output --debug &lt;0-6&gt; 1: screen output normal but keeps debug output in /tmp/. 2-6: see &quot;grep -A 5 &apos;^DEBUG=&apos; testssl.sh&quot; file output options (can also be preset via environment variables) --log, --logging logs stdout to &apos;${NODE}-p${port}${YYYYMMDD-HHMM}.log&apos; in current working directory (cwd) --logfile|-oL &lt;logfile&gt; logs stdout to &apos;dir/${NODE}-p${port}${YYYYMMDD-HHMM}.log&apos;. If &apos;logfile&apos; is a dir or to a specified &apos;logfile&apos; --json additional output of findings to flat JSON file &apos;${NODE}-p${port}${YYYYMMDD-HHMM}.json&apos; in cwd --jsonfile|-oj &lt;jsonfile&gt; additional output to the specified flat JSON file or directory, similar to --logfile --json-pretty additional JSON structured output of findings to a file &apos;${NODE}-p${port}${YYYYMMDD-HHMM}.json&apos; in cwd --jsonfile-pretty|-oJ &lt;jsonfile&gt; additional JSON structured output to the specified file or directory, similar to --logfile --csv additional output of findings to CSV file &apos;${NODE}-p${port}${YYYYMMDD-HHMM}.csv&apos; in cwd or directory --csvfile|-oC &lt;csvfile&gt; additional output as CSV to the specified file or directory, similar to --logfile --html additional output as HTML to file &apos;${NODE}-p${port}${YYYYMMDD-HHMM}.html&apos; --htmlfile|-oH &lt;htmlfile&gt; additional output as HTML to the specified file or directory, similar to --logfile --out(f,F)ile|-oa/-oA &lt;fname&gt; log to a LOG,JSON,CSV,HTML file (see nmap). -oA/-oa: pretty/flat JSON. &quot;auto&quot; uses &apos;${NODE}-p${port}${YYYYMMDD-HHMM}&apos;. If fname if a dir uses &apos;dir/${NODE}-p${port}${YYYYMMDD-HHMM}&apos; --hints additional hints to findings --severity &lt;severity&gt; severities with lower level will be filtered for CSV+JSON, possible values &lt;LOW|MEDIUM|HIGH|CRITICAL&gt; --append if (non-empty) &lt;logfile&gt;, &lt;csvfile&gt;, &lt;jsonfile&gt; or &lt;htmlfile&gt; exists, append to file. Omits any header --outprefix &lt;fname_prefix&gt; before &apos;${NODE}.&apos; above prepend &lt;fname_prefix&gt; Options requiring a value can also be called with &apos;=&apos; e.g. testssl.sh -t=smtp --wide --openssl=/usr/bin/openssl &lt;URI&gt;. &lt;URI&gt; always needs to be the last parameter. userid@<strong>somehost</strong>:~ % </pre> <br> Details are in the <a href="/doc/testssl.1.html" title="picture" target="_blank">man page</a>. <br> <br> You are free to check any port &ndash; supposed there's any SSL enabled service (TCP) listening. For the service HTTP you can also supply a full URL. STARTTLS services are those which are plaintext and need some kind of an upgrade command to speak TLS. This is very protocol (see difference between IMAP and SMTP) specific. A STARTTLS check with testssl.sh would be invoked with <tt>testssl.sh -t pop3 pop.o2online.de:110</tt>. Other examples: <pre style="width:600px"> testssl.sh --starttls smtp &lt;smtphost&gt;.&lt;tld&gt;:587 testssl.sh --starttls ftp &lt;ftphost&gt;.&lt;tld&gt;:21 testssl.sh -t xmpp &lt;jabberhost&gt;.&lt;tld&gt;:5222 testssl.sh -t xmpp --xmpphost &lt;XMPP domain&gt; &lt;jabberhost&gt;.&lt;tld&gt;:5222 testssl.sh --starttls imap &lt;imaphost&gt;.&lt;tld&gt;:143 </pre> The ports in those examples above are just the standard ports. Also here you're free to check any port. //refactor those, see e.g. https://content-security-policy.com/unsafe-hashes/ or just drop tis shit <script type="text/javascript" nonce="48208593b84a915eb6f121b890167391"> document.writeln("<img src='/testssl-mx50.png' alt='mail exchanger check with system openssl binary' id='img2' style='float:left' onmouseover='mouseOverImage2()' onmouseout='mouseOutImage2()'>"); function mouseOverImage2() { document.getElementById("img2").src = "/testssl-mx.png"; } function mouseOutImage2() { document.getElementById("img2").src = "/testssl-mx50.png"; } </script> <noscript> <div class="zoom"> <img src="/testssl-mx.png" style="height:374px; width:514px; float:left" alt="mail exchanger check with system openssl binary"> </div> </noscript> <br> If you just want to check the mail exchangers of a domain, do it like this: <tt>testssl.sh --mx google.com</tt> (make sure port 25 outbound is not blocked by your firewall) &ndash; see left hand side picture. <br> <br> With the output option <tt>--wide</tt> you get where possible a wide output with hexcode of the cipher, OpenSSL cipher suite name, key exchange (with DH size), encryption algorithm, encryption bits size and maybe the RFC cipher suite name. <br> <br> If you have the file <tt>mapping-rfc.txt</tt> in the same directory as testssl.sh it <a href="https://twitter.com/drwetter/status/456126567547039744/photo/1" title="picture" target="_blank">displays</a> in the wide outputs also the corresponding RFC style cipher name. If you don't want this, you need to move <tt>mapping-rfc.txt </tt> away. Another thing: If you want to find out what local ciphers you have and print them pretty, use <tt>testssl.sh -V</tt>. Ever wondered what hexcode a cipher is? <tt>testssl.sh -V x14</tt> lets you search for the hexcode <tt>x14</tt>. For hexcodes: If you just specify <tt>14</tt> instead of <tt>x14</tt> you will get all ciphers returned which have <tt>14</tt> as a low, middle or high byte. For ciphers: You can also supply a word case pattern, e.g. <tt>testssl.sh -V CBC</tt> puts out every locally available cipher having the Cipher Block Chaining mode in its name. <br> <br> <tt>testssl.sh -x &lt;pattern&gt; &lt;URI&gt;</tt> does the same as <tt>testssl.sh -V</tt>, it only checks the matched pattern at the server, so e.g. <tt>testssl.sh -x ECDH google.com</tt> checks google.com for ECDH ciphers (and lists also not available ones at the target), <tt>testssl.sh -x DHE smtp.posteo.de:465</tt> does a similar thing for the TLS enabled SMTP service. <br> <br> <tt>testssl.sh --file &lt;myfile&gt; </tt> let you do mass testing. The <a target="_blank" title="example of 'myfile'" href="https://twitter.com/drwetter/status/627619848344989696">syntax of the file</a> is very easy: one cmdline per line. Use comment signs <tt>#</tt> as you like, blank lines will be skipped, <tt>EOF</tt> signals the end of the file &ndash; what else? ;-). <script type="text/javascript" nonce="48208593b84a915eb6f121b890167391"> document.writeln("<img src='/testssl-x33.png' alt='check ECDHE cipher @ gmail's TLS SMTP port' id='img3' style='float:right' onmouseover='mouseOverImage3()' onmouseout='mouseOutImage3()'>"); function mouseOverImage3() { document.getElementById("img3").src = "/testssl-x.png"; } function mouseOutImage3() { document.getElementById("img3").src = "/testssl-x33.png"; } </script> <noscript> <div class="zoom"> <img src="/testssl-x.png" style="height:600px; width:475px; float:right" alt="mail exchanger check with system openssl binary"> </div> </noscript> <br> <br> You can also specify a proxy since version 2.6: <tt>testssl.sh --proxy=&lt;proxyhost&gt;:&lt;proxyport&gt; &lt;your_other_cmds_here&gt;</tt> will sneak the openssl and bash sockets requests e.g. out of our corporate environment. Proxy authentication is not supported and the port and protocol has to be allowed in the proxy. <script type="text/javascript" nonce="48208593b84a915eb6f121b890167391"> document.writeln("<img src='/testssl-h1-50.png' alt='header check on https://testssl.sh' id='img4' style='float:right' onmouseover='mouseOverImage4()' onmouseout='mouseOutImage4()'>"); function mouseOverImage4() { document.getElementById("img4").src = "/testssl-h1.png"; } function mouseOutImage4() { document.getElementById("img4").src = "/testssl-h1-50.png"; } </script> <noscript> <div class="zoom"> <img src="/testssl-h1.png" style="height:173px; width:327px; float:right" alt="header check on https://testssl.sh"> </div> </noscript> <br> <br> Another neat feature: <tt>testssl.sh --header &lt;URI&gt;</tt> gives you some information on the HTTP header and marks security features in green (see upper black picture on the right hand side), not so good headers range from yellow over brown to red. It also allows you to fingerprint proxies, see lower black picture. <script type="text/javascript" nonce="48208593b84a915eb6f121b890167391"> document.writeln("<img src='/testssl-h2-50.png' alt='header check on https://www.varnish-cache.org' id='img5' style='float:right' onmouseover='mouseOverImage5()' onmouseout='mouseOutImage5()'>"); function mouseOverImage5() { document.getElementById("img5").src = "/testssl-h2.png"; } function mouseOutImage5() { document.getElementById("img5").src = "/testssl-h2-50.png"; } </script> <noscript> <div class="zoom"> <img src="/testssl-h2.png" style="height:162px; width:291px; float:right" alt="header check on https://www.varnish-cache.org"> </div> </noscript> <br> <br> <!-- <br> <h3>When use the supplied OpenSSL binary?</h3> As mentioned above, a prerequisite for thoroughly checking SSL/TLS enabled servers is that all you want to check for has to be available on your client. Transport encryption is not only depending on the server but also on your crypto provider on the client side &ndash; especially if you want to use it for testing. So there are drawbacks for openssl binaries distributed with Linux and BSD: <ul> <li> SSLv2 is most of the time disabled </li> <li> one cannot check 56 Bit ciphers as they are disabled during compile time. </li> <li> other ciphers are disabled for security reasons, </li> <li> zlib support maybe not included (intend was to disable CRIME)</li> <li> and last but not least: SSLv3 seems to be outphased too</li> </ul> <br> <br> Therefore the <a href="openssl-1.0.2e-chacha.pm.tar.gz.asc" title="GPG signed">signed</a> tarball provides specially compiled statically linked (except glibc and the loader) <a href="openssl-1.0.2e-chacha.pm.tar.gz">OpenSSL binaries</a> as a courtesy. It has every dirty feature enabled but also has ChaCha+Poly ciphers on board. And as an option there are more Linux binaries having Kerberos ciphers included &ndash; the latter ones require a bunch of libraries (no static binaries). In the end those binaries will give you <a href="https://github.com/testssl/testssl.sh/blob/2.8/bin/openssl-Vall.krb.txt">191 ciphers</a> + four GOST ciphers as opposed to ~110 from standard Linux distros! All binaries are compiled from <a target="_blank" href="https://github.com/PeterMosmans/openssl">Peter Mosmans</a> OpenSSL fork. You'll need to unpack the binaries, dump those either in <tt>$INSTALLDIR/bin</tt>. You can also tell <code>testssl.sh</code> via environment variable where your openssl binary is: <pre style="width:300px">export OPENSSL=&lt;path_to_myopenssl&gt;</pre> before you use testssl or using the option <tt>&ndash;&ndash;openssl=&lt;path_to_myopenssl&gt;</tt>. Last but not least <code>$PATH</code> is also used to find your OpenSSL binary. <br> <br> <strong>Warning:</strong> Don't try outdated OpenSSL versions before 1.0! Those versions are deprecated, you likely will not get very far. <code>testssl.sh</code> is not locking those versions out yet but things might not work as expected. Support will be retired by Jan 2016. If you insist on using crippled &ndash; in the sense of this tool &ndash; binaries, you'll get a warning in magenta, see e.g. picture on the left hand side (middle of this page). --> <br> <p style="clear:left"></p> <h3 id="changelog">Changes</h3> <p class="box">3.2 </p> <br> <br> <br> &nbsp; &nbsp; &nbsp; &nbsp;... branch is stable <a href="https://github.com/testssl/testssl.sh" target="_blank" alt="Take me to the github repo">github only</a>. Changes relative to 3.0 see <a href="https://github.com/testssl/testssl.sh/blob/3.2/CHANGELOG.md" target="_blank" alt="changelog in the github repo">changelog</a>. <p class="box">3.0 </p> <br> <br> <ul class="rolledout"> <li>&#9658; Full support of TLS 1.3, shows also drafts supported</li> <li>&#9658; Extended protocol downgrade checks</li> <li>&#9658; ROBOT check</li> <li>&#9658; Better TLS extension support</li> <li>&#9658; Better OpenSSL 1.1.1 and higher versions support as well as LibreSSL &gt;</li> <li>&#9658; More robustness for OpenBSD</li> <li>&#9658; DNS over Proxy and other proxy improvements</li> <li>&#9658; Decoding of unencrypted BIG IP cookies</li> <li>&#9658; Initial client certificate support</li> <li>&#9658; Warning of 825 day limit for certificates issued after 2018/3/1</li> <li>&#9658; Socket timeouts (--connect-timeout)</li> <li>&#9658; IDN/IDN2 servername/URI + emoji support, supposed libidn/idn2 is installed and DNS resolver is recent) support</li> <li>&#9658; Initial support for certificate compression</li> <li>&#9658; Better JSON output: renamed IDs and findings shorter/better parsable, also includes certficate</li> <li>&#9658; JSON output now valid also for non-responding servers</li> <li>&#9658; Testing now per default 370 ciphers</li> <li>&#9658; Further improving the robustness of TLS sockets (sending and parsing)</li> <li>&#9658; Support of supplying timeout value for -- useful for batch/mass scanning</li> <li>&#9658; File input for serial or parallel mass testing can be also in nmap grep(p)able (-oG) format</li> <li>&#9658; LOGJAM: now checking also for DH and FFDHE groups (TLS 1.2)</li> <li>&#9658; PFS: Display of elliptical curves supported, DH and FFDHE groups (TLS 1.2 + TLS 1.3)</li> <li>&#9658; Check for session resumption (Ticket, ID)</li> <li>&#9658; TLS Robustness check GREASE and more</li> <li>&#9658; Server preference distinguishes between TLS 1.3 and lower protocols</li> <li>&#9658; Mark TLS 1.0 and TLS 1.1 as deprecated</li> <li>&#9658; Does a few startup checks which make later tests easier and faster (determine_optimal_\*())</li> <li>&#9658; Expect-CT Header Detection</li> <li>&#9658; <tt>--phone-out</tt>does certificate revocation checks via OCSP (LDAP+HTTP) and with CRL</li> <li>&#9658; <tt>--phone-out</tt>checks whether the private key has been compromised via https://pwnedkeys.com/</li> <li>&#9658; Missing SAN warning</li> <li>&#9658; Added support for private CAs</li> <li>&#9658; Way better handling of connectivity problems (counting those, if threshold exceeded -&gt; bye)</li> <li>&#9658; Fixed TCP fragmentation</li> <li>&#9658; Added <tt>--ids-friendly</tt> switch</li> <li>&#9658; Exit codes better: 0 for running without error, 1+n for small errors, &gt;240 for major errors.</li> <li>&#9658; Better error msg suppression (not fully installed OpenSSL)</li> <li>&#9658; Better parsing of HTTP headers &amp; better output of longer HTTP headers</li> <li>&#9658; Display more HTTP security headers</li> <li>&#9658; HTTP Basic Auth support for HTTP header</li> <li>&#9658; experimental eTLS detection</li> <li>&#9658; Dockerfile and repo @ docker hub with that file (see above)</li> <li>&#9658; Java Root CA store added</li> <li>&#9658; Better support for XMPP via STARTTLS &amp; faster</li> <li>&#9658; Certificate check for to-name in stream of XMPP</li> <li>&#9658; Support for NNTP and LMTP via STARTTLS, fixes for MySQL and PostgresQL</li> <li>&#9658; Support for SNI and STARTTLS</li> <li>&#9658; More robustness for any STARTTLS protocol (fall back to plaintext while in TLS caused problems)</li> <li>&#9658; Renegotiation checks improved, also no false potive for Node.js anymore</li> <li>&#9658; Major update of client simulations with self-collected up-to-date data</li> <li>&#9658; Update of CA certificate stores</li> <li>&#9658; Lots of bug fixes</li> <li>&#9658; More travis/CI checks -- still place for improvements</li> <li>&#9658; Man page reviewed</li> </ul> <ul class="navigation"> <a class="main" href="#2.9.5">2.9.5 Features (Sep 2017)</a> <li>&#9658; Way better coverage of ciphers as most checks are done via sockets, using bash sockets where ever possible </li> <li>&#9658; Further tests via TLS sockets and improvements (handshake parsing, completeness, robustness) </li> <li>&#9658; Testing 359 default ciphers (testssl.sh -e/-E) with a mixture of sockets and openssl. </li> <li>&#9658; Same speed as with openssl only but additional ciphers such as post-quantum ciphers, new CHAHA20/POLY1305, CamelliaGCM etc.</li> <li>&#9658; TLS 1.2 protocol check via sockets in production</li> <li>&#9658; Finding more TLS extensions via sockets</li> <li>&#9658; TLS Supported Groups Registry (RFC 7919), key shares extension</li> <li>&#9658; Non-flat JSON output support</li> <li>&#9658; File output (CSV, JSON flat, JSON non-flat) supports a minimum severity level (only above supplied level there will be output)</li> <li>&#9658; Native HTML support instead going through 'aha'</li> <li>&#9658; LUCKY13 and SWEET32 checks</li> <li>&#9658; Ticketbleed check</li> <li>&#9658; LOGJAM: now checking also for known DH parameters</li> <li>&#9658; Support of supplying timeout value for openssl connect -- useful for batch/mass scanning</li> <li>&#9658; Parallel mass testing</li> <li>&#9658; Check for CAA RR</li> <li>&#9658; Check for OCSP must staple</li> <li>&#9658; Check for Certificate Transparency</li> <li>&#9658; Check for session resumption (Ticket, ID)</li> <li>&#9658; Better formatting of output (indentation)</li> <li>&#9658; Choice showing the RFC naming scheme only</li> <li>&#9658; File input for mass testing can be also in nmap grep(p)able (-oG) format</li> <li>&#9658; Postgres und MySQL STARTTLS support</li> <li>&#9658; Man page in different formats (roff, HTML, markdown)</li> </ul> <br> <br> <br> <ul class="navigation"> <a class="main" href="#2.8">2.8 Features (May 2017)</a> <li>&#9658; Trust chain check against certificate stores from Apple (OS), Linux (OS), Microsoft (OS), Mozilla (Firefox Browser)</li> <li>&#9658; Works now on servers requiring a x509 certificate for authentication </li> <li>&#9658; Extensive CN+SAN <--> hostname check </li> <li>&#9658; SSL Session ID check </li> <li>&#9658; Avahi/mDNS based name resolution </li> <li>&#9658; HTTP2/ALPN protocol check </li> <li>&#9658; IPv6 support via <tt>-6</tt> argument (except IPv6 proxy) </li> <li>&#9658; Logging to a file / dir </li> <li>&#9658; Logging to (flat) JSON + CSV </li> <li>&#9658; HPKP checks now also for Root and intermediate SPKIs </li> <li>&#9658; Check for multiple server certificates </li> <li>&#9658; Browser cipher simulation: what client will connect with which cipher + protocol </li> <li>&#9658; GOST cipher+certificate improvements </li> <li>&#9658; Assistance for color-blind users </li> <li>&#9658; Even more compatibility improvements for FreeBSD, NetBSD, Gentoo, RH-ish, F5 and Cisco systems </li> <li>&#9658; Considerable speed improvements for each cipher runs (<tt>-e/-E</tt>) </li> <li>&#9658; More robust SSLv2 + TLS socket interface </li> <li>&#9658; separate check for curves </li> <li>&#9658; OpenSSL 1.1.0 compliant </li> <li>&#9658; Check for DROWN </li> <li>&#9658; Whole number of bugs squashed </li> </ul> <br> <br> <br> <ul class="navigation"> <a class="main" href="#2.6">2.6 Features (Sep 2015)</a> <li>&#9658; LOGJAM: check of DHE_EXPORT ciphers, displays DH(/ECDH) bits in wide mode on negotiated ciphers</li> <li>&#9658; (HTTP) proxy support! Via sockets and openssl -- Thx @jnewbigin</li> <li>&#9658; TLS_FALLBACK_SCSV check &ndash; Thx @JonnyHightower</li> <li>&#9658; TLS 1.0-1.1 as socket checks per default in production</li> <li>&#9658; TLS time and HTTP time stamps for architecture fiingerprinting</li> <li>&#9658; support of sockets also for STARTTLS protocol checks</li> <li>&#9658; TLS time displayed also for STARTTLS</li> <li>&#9658; binary directory provides out of the box better suited binaries (with up to 195 ciphers), besides Linux static binaries </li> <li>&nbsp;&nbsp;&nbsp; (OS X binaries (new builds from @jpluimers), FreeBSD binary, ARM binary (@f-s) </li> <li>&#9658; Extended validation certificate detection</li> <li>&#9658; "wide mode" option for checks like RC4, BEAST. PFS: Displays hexcode, kx, strength, DH bits, RFC cipher name</li> <li>&#9658; will test multiple IP adresses in one shot, <tt>--ip=</tt> restricts it accordingly</li> <li>&#9658; runs in default mode through all ciphers at the end of a default run</li> <li>&#9658; new mass testing file option <tt>--file </tt> option where <code>testssl.sh</code> commands are being read from, see <a target="_blank" href="https://twitter.com/drwetter/status/627619848344989696">here</a></li> <li>&#9658; displays matching host key (HPKP)</li> <li>&#9658; further detection of security relevant headers (reverse proxy, IPv4 addresses) as well as proprietary banners (OWA, Liferay etc.)</li> <li>&#9658; can scan STARTTLS+XMPP by also supplying the XMPP domain (to-option in XML streams).</li> <li>&#9658; quite some fixes when using LibreSSL, still not recommended to use though (see above)</li> <li>&#9658; lots of fixes, code improvements, even more robust</li> </ul> <br> <br> <br> <ul class="navigation"> <a class="main" href="#2.4">2.4 Features (May, 2015)</a> <li class="n1">&#9658; "only one cmd line option at a time" is completely gone</li> <li class="n2">&#9658; several tuning parameters on the cmd line (only available through environment variables b4): <tt>--assuming-http</tt>,</li><li> <tt>--ssl-native</tt>, <tt>--sneaky</tt>, <tt>--warnings</tt>, <tt>--color</tt>, <tt>-- debug</tt>, <tt>--long</tt></li> <li class="n3">&#9658; certificate information</li> <li class="n4">&#9658; more HTTP header infos (cookies+security headers)</li> <li class="n5">&#9658; protocol check via bash sockets for SSLv2+v3</li> <li class="n6">&#9658; debug handling significantly improved (verbosity/each function leaves files in $TEMPDIR)</li> <li class="n7">&#9658; BEAST check</li> <li class="n8">&#9658; FREAK check</li> <li class="n8">&#9658; HeartBleed check</li> <li class="n9">&#9658; check for Secure Client-Initiated Renegotiation</li> <li class="n10">&#9658; lots of cosmetic and maintainability code cleanups</li> <li class="n11">&#9658; bugfixing</li> </ul> <br> <br> <br> <ul class="navigation"> <a class="main" href="#2.2">2.2 Features (Dec 2014) </a> <li>&#9658; works fully under BSD (openssl &gt;=1.0)</li> <li>&#9658; cipher check (-x) with pattern of hexcode/cipher</li> <li>&#9658; check for POODLE SSL</li> <li>&#9658; HPKP check</li> <li>&#9658; OCSP stapling</li> <li>&#9658; GOST and CHACHA20/POLY1305 cipher support</li> <li>&#9658; service detection (HTTP, IMAP, POP, SMTP)</li> <li>&#9658; runs now with all colors, b/w screen, no escape codes at all</li> <li>&#9658; protocol check better</li> <li>&#9658; job control removes stalling</li> <li>&#9658; RFC &harr; OpenSSL name space mapping of ciphers everywhere</li> </ul> <br> <br> <br> <ul class="navigation"> <a class="main" href="#2.0">2.0 Features (June 2014) </a> <li>&#9658; SNI</li> <li>&#9658; STARTTLS</li> <li>&#9658; server preferences for protocols and ciphers</li> <li>&#9658; checks for: RC4, PFS, SPDY</li> <li>&#9658; web and app server banner, HSTS</li> <li>&#9658; server key size</li> <li>&#9658; TLS session tickets</li> <li>&#9658; TLS server extensions</li> <li>&#9658; heartbleed check from <a href="https://testssl.sh/bash-heartbleed.sh">bash-heartbleed.sh</a> with shell only SSL handshake!</li> <li>&#9658; CCS check from <a href="https://testssl.sh/ccs-injection.sh">ccs-injection.sh</a> with shell only SSL handshake!</li> <li>&#9658; somewhat smart check for BREACH vulnerability</li> <li>&#9658; check for CRIME</li> <li>&#9658; tests now for renegotiation vulnerabity</li> <li>&#9658; prelease of cipher suites name space mapping OpenSSL &harr; RFC</li> <li>&#9658; aaand: neat output</li> <li>&#9658; supplying URL, hostname, port with hostname is fine</li> <li>&#9658; sanity check for servce and SSL enabled service is listening at all</li> <li>&#9658; major code cleanups</li> <li>[..]</li> <li>More see <a href="CHANGELOG.txt">CHANGELOG</a>.</li> <li></li> </ul> <br> <br> <br> <br> <h3 id="misc">Misc</h3> Feedback, bugs and contributions are welcome! Currently there's one git repo at <a href="https://github.com/testssl/testssl.sh" target="_blank">https://github.com/testssl/testssl.sh</a>. Here @ <a href="https://testssl.sh">https://testssl.sh</a> you will always find the latest stable version. At <a href="https://github.com/testssl/testssl.sh" target="_blank">github</a> in the 2.9dev branch is the latest'n'greatest development version. <br><br> Bugs (and fixes) as well as other PRs can by filed at the git repo or send me a mail to <i>dirk aet testssl dot sh</i>. <br> <br> I post all significant updates on <a rel="me" href="https://infosec.exchange/@testssl">Mastodon</a> or <a href="https://bsky.app/profile/testssl.bsky.social" title="@testssl.bsky.social" target="_blank">Bluesky</a>. There was a personal twitter account which is deprecated as we don't like nazis or hate speech. &nbsp; <br> <br> <hr> <div class="warning"> <span style="font-weight: bold;">Services:&nbsp;</span> If you need a scanning service or consulting <a href="https://drwetter.eu/kontakt" target="_blank" title="contact form with OpenPGP encryption on my business web site (sorry, German. Fields should be self-explanatory)"> get in touch with me.</a> </div> <br> <hr> <div style="color: #999999; font-size: 11px; text-align: right;"><a href="http://drwetter.eu/impressum">Imprint</a>&nbsp;&nbsp;</div> <br> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10