Workaround for remote server certificate chain issues

This commit is contained in:
rinpatch 2019-07-12 23:53:21 +03:00 committed by Ariadne Conill
parent 2914f8a749
commit 1426358538

View 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"]
]