use tls1.3

This commit is contained in:
FloatingGhost 2022-06-07 12:24:40 +01:00
parent 6a19fbac2f
commit f19c93cdaa

View file

@ -25,7 +25,7 @@ def options(connection_opts \\ [], %URI{} = uri) do
end end
defp add_scheme_opts(opts, %URI{scheme: "https"}) do defp add_scheme_opts(opts, %URI{scheme: "https"}) do
Keyword.put(opts, :ssl_options, versions: [:"tlsv1.2", :"tlsv1.1", :tlsv1]) Keyword.put(opts, :ssl_options, versions: [:"tlsv1.3", :"tlsv1.2", :"tlsv1.1", :tlsv1])
end end
defp add_scheme_opts(opts, _), do: opts defp add_scheme_opts(opts, _), do: opts