fix: Disable TLS tickets for 1.2 and 1.3 in order to support reconnects after OpenSIPS restart#3673
Merged
Conversation
…ter OpenSIPS restarts
Member
|
I am going to merge this as a quick fix, but ideally we should sort out why tickets are not working - did you manage to troubleshoot why they were not working in the first place? |
Member
Author
wolfssl was sometimes very 'misterious' as to why the failures was happening : other times it was being more explicit : which basically lead me down the path of disabling tickets entirely. tls_openssl did not have this issue. |
NormB
pushed a commit
to NormB/opensips
that referenced
this pull request
May 9, 2026
…ter OpenSIPS restarts (OpenSIPS#3673)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix clients opening new SSL connections ( TLS, WSS, etc ) after an OpenSIPS restart
Details
We are not managing TLS 1.2 or 1.3 tickets server side
so in case a client will want to reconnect after an OpenSIPS
restart, it will provide a pre-shared ticket and this re-connection
will just fail, so take the lazy way out and disable tickets
https://datatracker.ietf.org/doc/html/rfc8446#section-2.2
Solution
Disable tickets support for TLS 1.2 and 1.3
Compatibility
Backwards compatible