-
Notifications
You must be signed in to change notification settings - Fork 18
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
jetty:9-jre8 SSL no longer works, FIN sent in reply to CLIENT_HELLO #7
Comments
Comment by draeath For completeness, this is the cas-redirect.war code. It does nothing fancy whatsoever. This problem exists even if this is the only context, and it's put down as ROOT.war. Done this to rule out the war files I'm trying to use as the source of this trouble. pom.xml:
src/main/java/REDACTED/cas/Redirect.java:
src/main/webapp/WEB-INF/web.xml:
|
Comment by draeath I'm going to replicate the jetty Dockerfile build using an older openjdk Dockerfile build, to validate. |
Comment by draeath Couldn't roll back, debian's security repo doesn't have that old package. Can only go forward to 8u212 |
Comment by draeath So, I have no idea why, but the syntax for the GPG command needed to be slightly changed. Namely I needed to provide the key IDs differently, instead of just the fingerprint as a string.
|
Comment by draeath OK! So bumping the JRE to 8u212 upstream of your own 9-jre8 Dockerfile fixes this issue Note that I did have to drop in an ALPN for this java version - but it seems to work OK. I can't find any details on changes for this java release to really dig any deeper to see if it's really compatible - my gut tells me it's just 202 with the new license. |
Comment by draeath I suspect the security fixes backported by the debian security team break the mapping of 8u181 to alpn-boot 8.1.12.v20180117. |
This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been closed due to it having no activity. |
Issue by draeath
Friday Mar 22, 2019 at 18:24 GMT
Originally opened as appropriate/docker-jetty#104
Specific image ID:
1dc9280cc083
Jetty starts, and the contexts appear to come up. However, all attempts to access them via SSL fail as follows. Yes, the port is exposed and not firewalled etc - this happens even via localhost.
EDIT: confirmed.
8u181-b13-1~deb9u1
works,8u181-b13-2~deb9u1
BREAKS,8u212-b01-1~deb9u1
works again (caveat: have to add an alpn-impl pointing at alpn-boot-8.1.13.v20181017)Note if I leave the ciphers parameter off, the defaults fail in the same way.
Packet capture shows:
There is no log, STDOUT, or STDERR emissions from Jetty when this occurs.
Digging around, I discovered the following. I have an older build of this software that's working fine. I performed a
docker container export
of both the old build and the new one (which fails), and did a recursive diff between. Ignoring binary differences, I found the following differences, and only the following differences, presumably from upstreamopenjdk:8-jre
7.52.1-5+deb9u6
to7.52.1-5+deb9u7
8u181-b13-1~deb9u1
to8u181-b13-2~deb9u1
Debian package changelogs for these show the curl change seems unrelated:
However the java changelog seems particularly relevant:
Specifically this update touches several areas around TLS/SSL.
Now, for some of my local info for context.
Dockerfile:
Referenced ssl.ini content:
https://apereo.github.io/cas/5.3.x/index.html
but this issue happens even if this context is omittedkeystore is valid with one private key and public cert pair:
The text was updated successfully, but these errors were encountered: