Repository navigation
Update to latest netty-tcnative release (#17056) - #17122
Conversation
Motivation: We released a new version of tcnative. Modifications: Update to latest version Result: Use latest tcnative version --------- Co-authored-by: Chris Vest <[email protected]> (cherry picked from commit 4670762)
b9ec017 to
7eecbff
Compare
|
@chrisvest @hyperxpro didn't we fix the OCSP issues in 4.1 ? |
We did: #17134 Let me dig deeper into failures |
|
Below is the investigation from Claude Code - We need some work to get this flowing. OpenSSL 3.6 changed how single OCSP stapling works, and this PR's Dockerfile change is what puts 3.6.1 into the image (tcnative 2.0.81's openssl-dynamic build needs libssl.so.3, with a DT_RPATH of /opt/openssl-3.6.1/lib). Two changes matter, and either one alone breaks the test:
OcspTest hits both. newOcspResponse() returns an ASCII string with the comment "OpenSSL does not care about the format of the byte[]!", and handshake() uses CachedSelfSignedCertificate. So the server stapes nothing, the handshake completes normally, and getOcspResponse() on the client returns null, which is the assertNotNull at OcspTest.java:210 and :252. I verified this with two independent reproducers, one in Java and one in C, against a locally built OpenSSL 3.6.1. On 3.5.5 every combination passes. On 3.6.1 every self-signed combination fails, including one with a real correctly signed response whose certID matches, and CA-issued with bogus bytes fails as well. BoringSSL and AWS-LC stay green because their tcnative path still stores the response as an opaque blob, with no parse and no self-signed check. The failing/passing split across all ten Linux jobs is exactly 1:1 on that axis. Upstream considers the DER requirement intentional. openssl/openssl#30379 is the same failure in pyopenssl's test suite, closed with "This really should be an OCSP response data. That this worked before is IMO just a coincidence." |
|
@hyperxpro hmm ok.... let just pin to '3.5.5' and do a followup. |
Use 3.5.7 for now so stabling tests pass
|
@hyperxpro but why does it only fail on the 4.1 branch and not the 4.2 ? |
|
So tests are failing in In 4.1, OcspTest is in In 4.2 , OcspTest is in So - 4.2 is also broken; It's just the test is not running. |
|
@hyperxpro got it... let just only support it when using BoringSSL / AWSLC for now |
|
It's fixed by setting the DH key size through a system property. |
…anges Fixes issues where old graal versions pick 1024-bit parameters in some builds.
b1f7f1c to
d028109
Compare
Motivation: We released a new version of tcnative. Modifications: Update to latest version Result: Use latest tcnative version --------- Co-authored-by: Chris Vest <[email protected]> (cherry picked from commit 4670762) --------- Co-authored-by: Norman Maurer <[email protected]>
Motivation:
We released a new version of tcnative.
Modifications:
Update to latest version
Result:
Use latest tcnative version
Co-authored-by: Chris Vest [email protected]
(cherry picked from commit 4670762)