about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbollux2
1 files changed, 1 insertions, 1 deletions
diff --git a/bollux b/bollux index 6646e8e..6f8ea8b 100755 --- a/bollux +++ b/bollux
@@ -228,7 +228,7 @@ request_url() {
228 local port="$2" 228 local port="$2"
229 local url="$3" 229 local url="$3"
230 230
231 ssl_cmd=(openssl s_client -crlf -quiet -connect "$server/$port") 231 ssl_cmd=(openssl s_client -crlf -quiet -connect "$server:$port")
232 ssl_cmd+=(-servername "$server") # SNI 232 ssl_cmd+=(-servername "$server") # SNI
233 run "${ssl_cmd[@]}" <<<"$url" 2>/dev/null 233 run "${ssl_cmd[@]}" <<<"$url" 2>/dev/null
234} 234}