From 6e1408d05ac5d28123b3d62ff555df7fd118f61f 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]]