Is there a known difference or incompatibility of some sort between cacerts file (or cacerts file format) when used under Oracle JDK/JRE 8 vs. Open JDK/JRE 8?
I mean... it seems we have a cacerts file which works OK with:
(1) Oracle JRE 8 (CentOS release 6.8)
but does not work OK with
(2) Open JRE 8 (CentOS release 6.10).
The Java version on system (1) is
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
while on system (2) it is
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
The error we get is this one:
java.lang.RuntimeException: Unexpected error:
java.security.InvalidAlgorithmParameterException:
the trustAnchors parameter must be non-empty
Is that possible to be due to the JRE being different or am I completely off base and the issue is elsewhere?
I am not finding any good explanation on the web.