element-hq / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://element-hq.github.io/synapse
GNU Affero General Public License v3.0
1.29k stars 156 forks source link

Insecure HTTP client not happy with a self-signed certificate #11437

Open matrixbot opened 9 months ago

matrixbot commented 9 months ago

This issue has been migrated from #11437.


Description

Enabling the use_insecure_ssl_client_just_for_testing_do_not_use config file option doesn't stop SimpleHttpClient (used in the OIDC handler in my case) from failing to connect to host. It also fails with a 504 which is its way of saying "invalid certificate", which is a bug on its own, but possibly not related.

Steps to reproduce

With use_insecure_ssl_client_just_for_testing_do_not_use enabled, I'd expect to have a normal interaction even with an untrusted server.

Version information

3isenHeiM commented 1 month ago

Any updates on this issue ?