Reputation: 283
I have a Java 14 application where some computers throw a javax.net.ssl.SSLHandshakeException or javax.net.ssl.SSLException when trying to access https://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_1p00.pl. It works fine for me, and all computers are using the same Windows 10 jre (that I built with jlink) and the same cacerts that came from OpenJDK 14. As I do not have the issue, I am unable to reproduce and debug. I have tried getting a user to replacing the cacerts on one of the computers, and it made no difference. Also, pasting the same URL direct into Chrome works. I have not tried exporting the cert from Windows and reimporting into cacerts, as my cacerts works and I don't see how that would make a difference, unless every cacerts is computer specific which does not appear to be the case from the modification date.
Any ideas on what could be causing this, and why Java is throwing the exception.
Upvotes: 0
Views: 202
Reputation: 283
SOLVED. The particular users had not updated the jre, only the jar file and it was missing the jdk.crypto module.
Upvotes: 0