about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-06-07 23:26:28 -0500
committerCase Duckworth2020-06-07 23:26:28 -0500
commitd9bc3e0109404d1bf637706496052f6569794742 (patch)
tree200fa1eb3d16c11dcfd056d7d7b3fe816243db1d
parentFix makefile (diff)
downloadbollux-d9bc3e0109404d1bf637706496052f6569794742.tar.gz
bollux-d9bc3e0109404d1bf637706496052f6569794742.zip
Add -servername to openssl command
-rwxr-xr-xbollux1
1 files changed, 1 insertions, 0 deletions
diff --git a/bollux b/bollux index 63e2afb..7aa2de8 100755 --- a/bollux +++ b/bollux
@@ -365,6 +365,7 @@ gemini_request() { # gemini_request URL
365 server="${server%%/*}" 365 server="${server%%/*}"
366 366
367 ssl_cmd=(openssl s_client -crlf -quiet -connect "$server:$port") 367 ssl_cmd=(openssl s_client -crlf -quiet -connect "$server:$port")
368 ssl_cmd+=(-servername "$server") # SNI
368 # disable old TLS/SSL versions 369 # disable old TLS/SSL versions
369 ssl_cmd+=(-no_ssl3 -no_tls1 -no_tls1_1) 370 ssl_cmd+=(-no_ssl3 -no_tls1 -no_tls1_1)
370 371