From 01beaa17465bdadb63b33c8453815ad176b70a46 Mon Sep 17 00:00:00 2001 From: Stas Date: Fri, 13 Oct 2023 12:26:26 +0200 Subject: [PATCH] fix: add sni in get_secrets (#181) --- VERSION | 2 +- lib/supavisor/client_handler.ex | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 8225a4ba..583b27ac 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9.11 +0.9.12 diff --git a/lib/supavisor/client_handler.ex b/lib/supavisor/client_handler.ex index e4036ab2..a63e9a5d 100644 --- a/lib/supavisor/client_handler.ex +++ b/lib/supavisor/client_handler.ex @@ -629,6 +629,7 @@ defmodule Supavisor.ClientHandler do [ {:verify, :verify_peer}, {:cacerts, [H.upstream_cert(tenant.upstream_tls_ca)]}, + {:server_name_indication, String.to_charlist(tenant.db_host)}, {:customize_hostname_check, [{:match_fun, fn _, _ -> true end}]} ] end