logoalt Hacker News

throw0101c • yesterday at 2:00 PM • 2 replies • view on HN

Qualsys' SSL Labs server check will also tell you if you have PQC (amongst other things):

* https://www.ssllabs.com

(They also have a browser check.)


Replies

Bender • yesterday at 2:39 PM

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

[1] - https://github.com/drwetter/testssl.sh

➕ show 2 replies
ktm5j • yesterday at 3:52 PM

The browser check seems broken, for me at least.