Workaround for remote server certificate chain issues

This commit is contained in:
rinpatch 2019-07-12 23:53:21 +03:00
parent b001b8891a
commit fa7e0c4262
1 changed files with 2 additions and 0 deletions

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