From a6101f0991f63b82951853c56b43f0b6383cdaf9 Mon Sep 17 00:00:00 2001 From: Alex S Date: Fri, 16 Aug 2019 20:04:13 +0300 Subject: [PATCH] tls versions for gun --- lib/pleroma/http/http.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index a7f42d0c0..9339532af 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -90,6 +90,7 @@ defmodule Pleroma.HTTP do tls_opts = Keyword.get(options, :tls_opts, []) |> Keyword.put(:server_name_indication, host) + |> Keyword.put(:versions, ['tlsv1.2', 'tlsv1.1', 'tlsv1']) Keyword.put(options, :tls_opts, tls_opts) ++ [ssl: [server_name_indication: host]]