-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add push_server.disable_tls_validation to Dendrite configuration #1172
Add push_server.disable_tls_validation to Dendrite configuration #1172
Conversation
Reviewer: @kegsay |
This disables the TLS certificate check for Push gateways, similar to the Synapse configuration.
dea870d
to
69dd8d3
Compare
See matrix-org/dendrite#1842 (comment) for the commit ordering relative Dendrite. |
@PiotrKozimor raised the question if this can be merged before the config option has been added to Dendrite. I've assumed that Dendrite will fail if we try, but maybe that's not the case? |
... and @neilalexander just answered it's okay on the Dendrite 1842. |
I removed the review on synapse-core since I don't think it is necessary here. Please shout if you'd like us to take a look though! |
( ! defined $ENV{'POSTGRES'} || $ENV{'POSTGRES'} == '0') ? | ||
"file:$self->{hs_dir}/mscs.db" : $db_uri, | ||
}, | ||
mscs => ["msc2836", "msc2946", "msc2444", "msc2753"], | ||
}, | ||
|
||
push_server => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tommie I just realized that we already have push_server
section below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fixed that. Good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that. Thank you!
This disables the TLS certificate check for Push gateways. Sytest uses HTTPS, but with a self-signed certificate. Synapse already has an option like this.
Dendrite-side must be committed first: matrix-org/dendrite#2061