-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
Missing cacert from window build (jdk8u172-b11) #478
Comments
From @DanHeidinga on June 21, 2018 15:15 FYI @jefrajames - tagging you in this item so you can track the status as we'll close the OpenJ9 issue |
From @donbourne on July 25, 2018 13:7 I encountered this same issue last week. We were trying to do maven builds, as part of a lab for a conference. Since maven was trying to connect to the maven repo it failed on the SSL handshake since the cacerts weren't present in the JDK. I had to copy the certs from a linux build to get the lab to work... so +1 for fixing this. |
From @planetf1 on July 25, 2018 14:15 Hit this same problem. Built fine on oracle 172. Switched to openjdk 171, still built fine. Then a few days later a colleague added a new dependency and wham! maven fell over as it couldn't pull an artifact. This is a breakage. Note that ubuntu 18.04's openjdk build (not adopt) has similar issues - there I ended up copying the cacert file from an oraclejdk... (in both cases format was old style not java 9/10 for the keystore) |
From @sxa555 on July 25, 2018 14:50 It looks like it was deliberately excluded on Windows under @neomatrix369' commit at 685a937 ... I've just attempted a build with it re-enabled and it hasn't aborted at that part so if all goes to plan I'll submit a PR on this. |
From @planetf1 on August 2, 2018 12:52 I said '71' as I assumed the 71 in the bad version string (another issue open on this) was a truncated 171, but perhaps not. MacOS 13:52 $ java -version |
From @planetf1 on August 2, 2018 12:55 It's labelled jdk8u171-b11 when downloaded - yet it's unclear how to resolve that against a command I can run in the installed environment to show what is installed. there should be some match ideally on -version -- but there is when viewing full properties! In full: |
See #469 |
I might be looking at the wrong builds, but if I'm reading Jenkins correctly this is the windows build that should have this commit in there: https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-windows-x64-hotspot/ And I just downloaded the latest build from there (build 27) and the |
@DavyLandman - What does the java --version string say? |
I was going the long way around to get a correct cacerts for my 171 download. Repo:
So the zip contains a 32byte cacerts file. I solved my own problem by reading the buildscript and figuring out it just copies it from the repo, so I took that file. Just thought to leave a comment to point out the build server is not producing the right zip yet. |
OpenJDK 8 171 does not deliver a cacerts file. It can't download over https due to that build error. See adoptium/temurin-build#478
@karianna I am still seeing this problem with our Linux builds
It is pretty the same with this issue oracle/graal#493 Adding this flag will help fix it -Djavax.net.ssl.trustStore=[Path to Adopt OpenJDK 8u181_b13]/jre/lib/security/cacert But after that it introduces this bug #555
I am running with the latest nightly build OpenJDK8U_x64_linux_hotspot_2018-09-30-17-14.tar.gz |
@karianna and @johnoliver I think this issue can be closed, both windows and linux builds contain the same cacerts now. @minhtran83 if downloading the latest releases from CI haven't fixed your issue, maybe you should open a new issue, and provide some more context in that issue. Windows
Linux
|
Thanks a lot @DavyLandman |
@karianna @DavyLandman, should we expect a new release of AdoptOpenJDK8 with those certificates? Or are we expecting to download/run nightlies? |
3 similar comments
@karianna @DavyLandman, should we expect a new release of AdoptOpenJDK8 with those certificates? Or are we expecting to download/run nightlies? |
@karianna @DavyLandman, should we expect a new release of AdoptOpenJDK8 with those certificates? Or are we expecting to download/run nightlies? |
@karianna @DavyLandman, should we expect a new release of AdoptOpenJDK8 with those certificates? Or are we expecting to download/run nightlies? |
@ColinHebert New release will be coming out u192 |
Can confirm that the u192 HotSpot download archive for Windows, https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u192-b12/OpenJDK8U-jdk_x64_windows_hotspot_8u192b12.zip contains a ~100 KB cacerts file in |
From @nrousseau on June 20, 2018 7:3
Hello,
Actually the file cacert for the windows build is empty, ie:
jdk8u172-b11/jre/lib/security/cacert
Everything is ok for mac / linux builds, but not windows.
Is it possible to get a new release build with the certificate file?
Thanks
Copied from original issue: AdoptOpenJDK/openjdk8-releases#11
The text was updated successfully, but these errors were encountered: