And if your site is not reachable from the internet one can test internally with testssl.sh [1] Also useful if a site blocks Qualys or if one wanted to script creating HTML or JSON reports on many sites.
Here is a function I use for sites that block simple bots.
function ts()
{
MyUrl="$1";export MyUrl
bash ./testssl.sh --log --json --disable-rating \
--reqheader "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:159.0) Gecko/20100101 Firefox/159.0" \
--reqheader "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
--reqheader "Accept-Language: en-US" \
--reqheader "Accept-Encoding: gzip, deflate, br, zstd" \
--reqheader "Sec-Fetch-Dest: document" \
--reqheader "Sec-Fetch-Mode: navigate" \
--reqheader "Sec-Fetch-Site: cross-site" \
--reqheader "Sec-Fetch-User: ?1" \
# --ip 127.0.0.1 \
"${MyUrl}"
}
Uncomment the --ip to force it to an IP for testing on a server directly itself.Some sites are more forgiving if the url includes /robots.txt
testssl.sh can also test non-HTTP services. Useful to those of us who still self host email for example.
Important Note: by default testssl.sh will use the version of openssl that it ships with. Specific to the topic at hand, one will likely also need to add
or it may warn that tls1.3 is not supported.