test23-tls-protos-tls1_2.sh (hitch-1.5.2) | : | test23-tls-protos-tls1_2.sh (hitch-1.6.0) | ||
---|---|---|---|---|
skipping to change at line 16 | skipping to change at line 16 | |||
# only TLSv1.2 | # only TLSv1.2 | |||
cat >hitch.cfg <<EOF | cat >hitch.cfg <<EOF | |||
backend = "[hitch-tls.org]:80" | backend = "[hitch-tls.org]:80" | |||
frontend = "[*]:$LISTENPORT" | frontend = "[*]:$LISTENPORT" | |||
pem-file = "${CERTSDIR}/default.example.com" | pem-file = "${CERTSDIR}/default.example.com" | |||
tls-protos = TLSv1.2 | tls-protos = TLSv1.2 | |||
EOF | EOF | |||
start_hitch --config=hitch.cfg | start_hitch --config=hitch.cfg | |||
# this will fail on platforms that have OpenSSL compiled without SSLv3 | ||||
# XXX: find how to detect the lack of SSLv3 | ||||
s_client -tls1_2 | s_client -tls1_2 | |||
# this will fail on platforms that have OpenSSL compiled without SSLv3 | ||||
! s_client -tls1_1 | ! s_client -tls1_1 | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 0 lines changed or added |