Skip to content

Commit

Permalink
fix: add sni in get_secrets (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
abc3 authored Oct 13, 2023
1 parent 0d5c692 commit 01beaa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.11
0.9.12
1 change: 1 addition & 0 deletions lib/supavisor/client_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01beaa1

Please sign in to comment.