GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix OCSP signature validation when responder is not the issuer by hyperxpro · Pull Request #16079 · netty/netty

Conversation

@hyperxpro

@hyperxpro hyperxpro commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

Motivation:
OCSP validation currently fails when responses are signed by dedicated OCSP responder certificates.
While this is not very common, it is used by apple.com and many other high-traffic websites.

Modification:
Updated the validateSignature method to validate OCSP responses signed by delegated OCSP responders and establish a full chain of trust back to the issuer.

Result:
Fixes #15829

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
hyperxpro and others added 2 commits December 20, 2025 04:24
@hyperxpro
Fix OCSP signature validation when responder is not the issuer
65f52c3
@hyperxpro
Merge branch '4.2' into ocsp-fix
a9dfa34
@hyperxpro

hyperxpro commented Jan 5, 2026

Copy link
Copy Markdown
Contributor Author

@chrisvest @normanmaurer - PTAL :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest

chrisvest commented Jan 5, 2026

Copy link
Copy Markdown
Member

@hyperxpro Can we use java.security.cert.CertPathBuilder instead of implementing our own DFS path building/verification?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hyperxpro
Use JDK's CertPathBuilder instead of custom DFS search
00cd08c
@hyperxpro

hyperxpro commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

@hyperxpro Can we use java.security.cert.CertPathBuilder instead of implementing our own DFS path building/verification?

Works, changed :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hyperxpro
Merge branch '4.2' into ocsp-fix
a60522d
chrisvest
chrisvest approved these changes Jan 7, 2026
View reviewed changes
@normanmaurer

normanmaurer commented Jan 8, 2026

Copy link
Copy Markdown
Member

@hyperxpro check the test failures

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hyperxpro

hyperxpro commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

Build PR / linux-x86_64-java11-boringssl-jdk8-tests build (pull_request)

2026-01-07T20:36:02.3491944Z [INFO] 
2026-01-07T20:36:02.3493163Z [INFO] Results:
2026-01-07T20:36:02.3493644Z [INFO] 
2026-01-07T20:36:02.3494100Z [ERROR] Errors: 
2026-01-07T20:36:02.3496352Z [ERROR]   DnsNameResolverTest.testTruncatedWithTcpFallback:3300->testTruncated0:3385 ? NullPointer address
2026-01-07T20:36:02.3497992Z [INFO] 
2026-01-07T20:36:02.3503200Z [ERROR] Tests run: 297, Failures: 0, Errors: 1, Skipped: 17
2026-01-07T20:36:02.3504160Z [INFO] 
2026-01-07T20:36:02.3506111Z [WARNING] Corrupted channel by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /code/resolver-dns/target/surefire-reports/2026-01-07T19-37-11_697-jvmRun1.dumpstream
2026-01-07T20:36:02.3514025Z [INFO] ------------------------------------------------------------------------
2026-01-07T20:36:02.3514860Z [INFO] Reactor Summary for Netty 4.2.10.Final-SNAPSHOT:
2026-01-07T20:36:02.3515487Z [INFO] 

Build PR / linux-x86_64-java11-boringssl build (pull_request)

2026-01-07T20:52:52.7705244Z [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s -- in io.netty.channel.uring.IoUringSocketRstTest
2026-01-07T20:52:53.3044190Z [INFO] 
2026-01-07T20:52:53.3044890Z [INFO] Results:
2026-01-07T20:52:53.3046134Z [INFO] 
2026-01-07T20:52:53.3046460Z [ERROR] Errors: 
2026-01-07T20:52:53.3049446Z [ERROR]   IoUringSocketSslEchoTest.testSslEcho(SslContext, SslContext, Renegotiation, boolean, boolean, boolean, boolean, boolean, TestInfo)[61] ? Timeout testSslEcho(io.netty.handler.ssl.SslContext, io.netty.handler.ssl.SslContext, io.netty.testsuite.transport.socket.SocketSslEchoTest$Renegotiation, boolean, boolean, boolean, boolean, boolean, org.junit.jupiter.api.TestInfo) timed out after 30000 milliseconds
2026-01-07T20:52:53.3052569Z [INFO] 
2026-01-07T20:52:53.3053025Z [ERROR] Tests run: 914, Failures: 0, Errors: 1, Skipped: 144
2026-01-07T20:52:53.3053610Z [INFO] 

Flaky tests, it seems.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

normanmaurer
normanmaurer approved these changes Jan 9, 2026
View reviewed changes
@normanmaurer
normanmaurer merged commit 95ce693 into netty:4.2 Jan 9, 2026
@normanmaurer normanmaurer added this to the 4.2.10.Final milestone Jan 9, 2026
normanmaurer pushed a commit that referenced this pull request Jan 9, 2026
@hyperxpro @normanmaurer
Fix OCSP signature validation when responder is not the issuer (#16079)
6feac70
Motivation:
OCSP validation currently fails when responses are signed by dedicated
OCSP responder certificates.
While this is not very common, it is used by apple.com and many other
high-traffic websites.

Modification:
Updated the `validateSignature` method to validate OCSP responses signed
by delegated OCSP responders and establish a full chain of trust back to
the issuer.

Result:
Fixes #15829
normanmaurer pushed a commit that referenced this pull request Jan 9, 2026
@hyperxpro @normanmaurer
Fix OCSP signature validation when responder is not the issuer (#16079)
3b02bf1
Motivation:
OCSP validation currently fails when responses are signed by dedicated
OCSP responder certificates.
While this is not very common, it is used by apple.com and many other
high-traffic websites.

Modification:
Updated the `validateSignature` method to validate OCSP responses signed
by delegated OCSP responders and establish a full chain of trust back to
the issuer.

Result:
Fixes #15829
normanmaurer added a commit that referenced this pull request Jan 9, 2026
@normanmaurer @hyperxpro
Fix OCSP signature validation when responder is not the issuer (#16079)…
41c4825
… (#16118)

Motivation:
OCSP validation currently fails when responses are signed by dedicated
OCSP responder certificates.
While this is not very common, it is used by apple.com and many other
high-traffic websites.

Modification:
Updated the `validateSignature` method to validate OCSP responses signed
by delegated OCSP responders and establish a full chain of trust back to
the issuer.

Result:
Fixes #15829

Co-authored-by: Aayush Atharva <[email protected]>
hyperxpro added a commit to hyperxpro/netty that referenced this pull request Jul 23, 2026
@hyperxpro
Backport netty#16079 and netty#17114
afc038e
hyperxpro added a commit to hyperxpro/netty that referenced this pull request Jul 23, 2026
@hyperxpro
Backport netty#16079 and netty#17114
4ce1cd8
@hyperxpro hyperxpro mentioned this pull request Jul 23, 2026
Backport #16079 and #17114 #17134
Merged
hyperxpro added a commit to hyperxpro/netty that referenced this pull request Jul 23, 2026
@hyperxpro
Backport netty#16079 and netty#17114
340c5f9
chrisvest pushed a commit that referenced this pull request Jul 24, 2026
@hyperxpro
Backport #16079 and #17114 (#17134)
9312227
Backport #16079 and #17114
@hyperxpro
hyperxpro deleted the ocsp-fix branch August 26, 2026 22:18
@normanmaurer normanmaurer mentioned this pull request Sep 22, 2026
suspend race fix #17588
Closed
@normanmaurer normanmaurer mentioned this pull request Oct 1, 2026
child5 #17695
Closed
@normanmaurer normanmaurer mentioned this pull request Oct 20, 2026
fix iouring zerocopy iov overwrite #17936
Closed
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
@hyperxpro @lltopk
Backport netty#16079 and netty#17114 (netty#17134)
db0b460
Backport netty#16079 and netty#17114
@normanmaurer normanmaurer mentioned this pull request Oct 26, 2026
crisp nova cceda091 #18109
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chrisvest chrisvest chrisvest approved these changes
@normanmaurer normanmaurer normanmaurer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.10.Final

Development

Successfully merging this pull request may close these issues.

OCSP issue

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@hyperxpro @chrisvest @normanmaurer
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.