-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
endpointIdentificationAlgorithm enabled by default #3454
Comments
Have you just tried setting The |
@jborgland Because you are using client certificates you are probably customizing already your server-side Unfortunately there was no easy way to make both the client and the client certificate case on server side happy. @joakime an alternative could be to have a |
My point exactly - the new default value essentially enabled functionality that shouldn't be enabled in this context. @sbordet Creating two separate ones sound like a reasonable way of solving the problem. |
Closing in favor of the work being done in Issue #3464 |
Jetty 9.4.15 started doing additional checks on client certificates. This bit of code reverts to the old behavior. See jetty/jetty.project#3454 Fixes #6
Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) Modification: unset endpointIdentificationAlgorithm as recommended to allow srm usage. Result: srm works again! Acked-by: Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Paul Millar Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Paul Millar Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no (cherry picked from commit 8ad4ca3) Signed-off-by: Tigran Mkrtchyan <[email protected]>
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Paul Millar Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no (cherry picked from commit 8ad4ca3) Signed-off-by: Tigran Mkrtchyan <[email protected]>
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Paul Millar Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no (cherry picked from commit 8ad4ca3) Signed-off-by: Tigran Mkrtchyan <[email protected]>
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Paul Millar Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no (cherry picked from commit 8ad4ca3) Signed-off-by: Tigran Mkrtchyan <[email protected]>
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Paul Millar Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no (cherry picked from commit 8ad4ca3) Signed-off-by: Tigran Mkrtchyan <[email protected]>
…y.Server Motivation: jetty version 9.4.15+ enforce HTTPS protocol and reject any other schemas by default. (see jetty/jetty.project#3454) To allow 'srm://' the SslContextFactory must reset explicit protocol enforcement, or subclass SslContextFactory.Server, which does it by default. Modification: make CanlContextFactory subclass of jetty.ssl.SslContextFactory.Server to remove protocol enforcement and get rid of deprecated jetty API. Result: srm works again! Acked-by: Paul Millar Target: master, 5.1, 5.0, 4.2, 4.1, 4.0, 3.2 Require-book: no Require-notes: no (cherry picked from commit 8ad4ca3) Signed-off-by: Tigran Mkrtchyan <[email protected]>
…slContextFactory For more information: see jetty/jetty.project#3454
…slContextFactory For more information: see jetty/jetty.project#3454
With commit e4d7860 the default value for
endpointIdentificationAlgorithm
was changed fromnull
toHTTPS
to "avoid warnings." The refererenced warnings were introduced as part of the same issue (#3049 ).The result of this change is that a lot of (most?) client certificates will be rejected with the message
No subject alternative names matching IP address <ip> found
.Section 3.2 of RFC 2818 states that Typically, the server has no external knowledge of what the client's identity ought to be and so checks (other than that the client has a certificate chain rooted in an appropriate CA) are not possible. so the new default value seems like a bad one (and so does the warning).
The text was updated successfully, but these errors were encountered: