You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jetty version
jetty-9.4.27.v20200227 Java version
java 1.8 OS type/version
Windows Description
In commit e4d7860, the default _endpointIdentificationAlgorithm changed from null to HTTPS, this can break existing application code.
I know issue #3464 tries to solve this case. However, I find it misses following case. I will just past the stack trace here for your reference:
Is the member initialization: "private String _endpointIdentificationAlgorithm = "HTTPS";" necessary? There are actually three code paths for _endpointIdentificationAlgorithm:
Server mode, _endpointIdentificationAlgorithm would be HTTPS.
Client mode, _endpointIdentificationAlgorithm would be null.
For all other cases, _endpointIdentificationAlgorithm should be null in my opinion.
Can you provide a way to skip customize method like "SslContextFactory.customize(SSLEngine) line: 1947". " customize method does not respect sslParameter value set in application layer and just replace those parameters silently. This really surprises application deliberately set those values by themselves because their settings are ignored. It would be nice to have a way not to set those values.
The text was updated successfully, but these errors were encountered:
Sounds like WebServiceHttpsConnector isn't updated to use SslContextFactory$Server.
The baseline SslContextFactory (not Server specific, not Client specific) can only be neutral (support both server and client) and secure (industry recommended security configuration is default).
Adjusting the baseline SslContextFactory to support specifically either Server or Client will break the other sides usage.
Historically, before both the linked issue #3464 and commit e4d7860 (that you mentioned in this issue), we used to have client specific code where the client was initialized (commit ce6bc23) , but that broke other users.
Jetty version
jetty-9.4.27.v20200227
Java version
java 1.8
OS type/version
Windows
Description
In commit e4d7860, the default _endpointIdentificationAlgorithm changed from null to HTTPS, this can break existing application code.
I know issue #3464 tries to solve this case. However, I find it misses following case. I will just past the stack trace here for your reference:
From the stack trace, I have two questions:
Is the member initialization: "private String _endpointIdentificationAlgorithm = "HTTPS";" necessary? There are actually three code paths for _endpointIdentificationAlgorithm:
Can you provide a way to skip customize method like "SslContextFactory.customize(SSLEngine) line: 1947". " customize method does not respect sslParameter value set in application layer and just replace those parameters silently. This really surprises application deliberately set those values by themselves because their settings are ignored. It would be nice to have a way not to set those values.
The text was updated successfully, but these errors were encountered: