Skip to content

Instantly share code, notes, and snippets.

View jaamo's full-sized avatar

Jaakko Alajoki jaamo

View GitHub Profile
@jaamo
jaamo / tls-check.sh
Created February 6, 2023 13:46
Check that TLS 1.1 is not supported on a website
#!/bin/bash
SITES=("https://www.kampiapina.com" "https://apina.studio")
for i in "${SITES[@]}"
do
# Ask file with old version of TLS. Should return an error.
curl $i --verbose --tlsv1.1 --tls-max 1.1 &> response.txt