-
|
Jetty version(s) Jetty Environment HTTP version Java version/vendor OS type/version Description HTTP works, but enabling HTTPS fails during Jetty startup. The failure happens because Observed stack trace:
This causes HTTPS connector startup to fail before the server can accept TLS connections. I understand Jetty 9 is EOL, but I wanted to report this compatibility issue for reference and ask whether this dependency is intentional, or whether a fallback approach without How to reproduce?
Example flow:
Result:
Relevant stack trace:
Expected behavior: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Thanks for your interest, but Jetty 9.4.x is at EOL and won't receive public updates anymore. You may contact Webtide for commercial support for Jetty 9.4.x. The dependency is intentional and present also in recent Jetty versions, as we need to parse the distinguished name of a certificate, and this parsing is already done by JDK classes If you would like to contribute this parsing for Jetty 12.1.x will be great, but then you'll need Java 17 Android support. My understanding of the Android support is that even if you solve this issue, there will be others that will pop up due to other incompatibilities between OpenJDK and Android. |
Beta Was this translation helpful? Give feedback.
-
|
I did one additional Android compatibility check for reference. To verify whether this was only a Jetty 9 HTTPS / SSL path issue, I also tested a minimal Jetty 12 HTTP server on Android 13. This test did not use:
It was only:
However, Jetty 12 also failed in my environment, this time during
Stack trace starts from:
So in my testing, the Android compatibility issue does not seem limited to Jetty 9 HTTPS only. |
Beta Was this translation helpful? Give feedback.
Thanks for your interest, but Jetty 9.4.x is at EOL and won't receive public updates anymore.
We also do not accept public pull requests for changes to 9.4.x; this repository is now read-only.
You may contact Webtide for commercial support for Jetty 9.4.x.
The dependency is intentional and present also in recent Jetty versions, as we need to parse the distinguished name of a certificate, and this parsing is already done by JDK classes
LdapNameandRdn, so we did not have to rewrite the parsing.If you would like to contribute this parsing for Jetty 12.1.x will be great, but then you'll need Java 17 Android support.
My understanding of the Android support is that even if you solve this iss…