Open HariSekhon opened 1 year ago
Have you tried using more recent Java version?
No this repo doesn't install Java, it uses the one bundled in the image, which implies that the image itself is broken and needs fixing.
I'm not saying you are installing (have to install) Java - the image includes a bunch of JDKs pre-installed. It's just JDK 9 is the oldest on the image and could have some root certs missing. Try building with at least JDK 15 by adding this to your appveyor.yml
:
stack: jdk 15
Tried that and it solved it, thanks!
So the next question is why does the Ubuntu image have a default JDK so old that it breaks on SSL validation?
Should the Ubuntu image be updated to use a current JDK so this workaround isn't needed?
Will look into that. There are other components that might depend on JDK 9 and even JDK 8.
Looks like the java ssl certs are broken on
image: Ubuntu
, as Maven gets this error:Here is the public build:
https://ci.appveyor.com/project/HariSekhon/devops-bash-tools/branch/master
Fuller output: