Workaround for remote server certificate chain issues
authorrinpatch <rinpatch@sdf.org>
Fri, 12 Jul 2019 20:53:21 +0000 (23:53 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 12 Jul 2019 20:53:21 +0000 (23:53 +0300)
config/config.exs

index 99b500993c7284c72723a5e284f1e12374bbc060..eb663f3ecba11663301ecfb5210f4735c46cd032 100644 (file)
@@ -194,6 +194,8 @@ config :pleroma, :http,
   send_user_agent: true,
   adapter: [
     ssl_options: [
+      # Workaround for remote server certificate chain issues
+      partial_chain: &:hackney_connect.partial_chain/1,
       # We don't support TLS v1.3 yet
       versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
     ]