-
Notifications
You must be signed in to change notification settings - Fork 228
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
tlsv1 alert protocol version (Synapse can't make TLS 1.3 requests, FreeBSD) #17046
Comments
My server (zettaport.com) is one of the ones @pacija's is unable to federate with (in the mimar.rs -> zettaport.com direction; federation updates from my server to his work properly). I'm using OpenBSD relayd as my reverse proxy which only accepts TLS 1.2+ connections. My relayd logs look like:
so it appears that mimar.rs is continuing to use an older, insecure TLS version for some reason. |
Do you have the ability to run something like That should pretty closely simulate what Synapse does to establish a connection. The output might be useful. |
Hi, in the meantime I upgraded to py39-matrix-synapse-1.105.1, current version in ports, the problem remains. I have attached the output you asked for. |
Thanks for that. I notice that your attached log file uses TLS 1.3. I get a similar result locally, notably you can see the server certificate etc. However if I tell OpenSSL to use TLS 1.2, I get an alert and it doesn't show a server certificate
So it seems zettaport.com doesn't accept TLS 1.2. And your server seemingly can't speak TLS 1.3 for some reason. Is there any chance you can ask your distro packager to see if they know why it can't speak TLS 1.3? We use PyOpenSSL through Twisted. Twisted sets these options: You've already confirmed that the It sounds like other servers are managing, so it doesn't seem like a direct Synapse problem. I also can't find any clues online but I don't know much about FreeBSD! |
and @jrick from your message it sounds like you intended to accept TLS 1.2+, but right now you only accept TLS 1.3. This is maybe a separate problem for you, I don't know how widespread TLS 1.3 acceptance is by now but I also personally wouldn't expect it to be universal.. |
Thanks for that heads up. I took a second look at my config and it does intentionally disable 1.2. |
https://cgit.freebsd.org/ports/commit/?id=e3f34f8a65e6aae0f177b5098b704ca1d0a62c4a Anyway, removing post-patch section from py-twisted port's Makefile, and doing a |
Description
Hi,
some admins who (like me) run their own homeservers told me their servers won't get room updates directly from my server, it takes another server to accept them, and relay them to their homeservers.
Steps to reproduce
Homeserver
mimar.rs
Synapse Version
1.104.0
Installation Method
Other (please mention below)
Database
PostgreSQL
Workers
Single process
Platform
FreeBSD jail (14.0 x64) running on FreeBSD host (14.0 x64).
Configuration
I added
federation_client_minimum_tls_version: "1.2"
but the problem remains.Relevant log output
Anything else that would be useful to know?
Same situation happens with current FreeBSD port/package (1.98.0). I created my custom port and upgraded to 1.104.0 (will send patches to FreeBSD after a few days of running it if no problems appear), but the problem remains.
The text was updated successfully, but these errors were encountered: