summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2020-05-21 21:53:07 +0100
committerLuke Bratch <luke@bratch.co.uk>2020-05-21 21:53:07 +0100
commite3fb9717e627de7653e389be7ee7c67bdd435d25 (patch)
tree437e70ebeb5996c8a0c9834ad3a4b16a62acfdcc
parentb579ea5b2d278302a249b3650eec836896cdccb2 (diff)
Add support for TLS 1.3
-rwxr-xr-xcertexpiry.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/certexpiry.sh b/certexpiry.sh
index d564a5f..3901f95 100755
--- a/certexpiry.sh
+++ b/certexpiry.sh
@@ -41,7 +41,7 @@ while read -r HOSTANDPORT ; do
# Try various TLS versions against this host:port to try and get a response
RETCODE=1
- for PROTOCOL in -tls1_2 -tls1_1 -tls1 ; do
+ for PROTOCOL in -tls1_3 -tls1_2 -tls1_1 -tls1 ; do
if [ "$RETCODE" -eq 0 ] ; then
break
fi