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 — Validate trust manager configuration · netty/netty@5f1888e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • handler/src/main/java/io/netty/handler/ssl
    • ReferenceCountedOpenSslClientContext.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslClientContext.java‎

Copy file name to clipboardExpand all lines: handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslClientContext.java
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ static OpenSslSessionContext newSessionContext(ReferenceCountedOpenSslContext th
183183
//
184184
// See https://github.com/netty/netty/issues/5372
185185

186+
if (thiz.endpointIdentificationAlgorithm != null && !thiz.endpointIdentificationAlgorithm.isEmpty() &&
187+
!useExtendedTrustManager(manager)) {
188+
throw new UnsupportedOperationException(
189+
"Endpoint identification algorithm '" + thiz.endpointIdentificationAlgorithm + "' is " +
190+
"configured but the trust manager does not support extended trust manager verification. " +
191+
"Please provide an X509ExtendedTrustManager or use the SslProvider.JDK.");
192+
}
193+
186194
setVerifyCallback(ctx, engines, manager);
187195
} catch (Exception e) {
188196
if (keyMaterialProvider != null) {

0 commit comments

Comments
0 (0)
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.