FS#55717 - java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Attached to Project:
Arch Linux
Opened by Julien Nicoulaud (nicoulaj) - Saturday, 23 September 2017, 13:37 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 23 September 2017, 14:34 GMT
Opened by Julien Nicoulaud (nicoulaj) - Saturday, 23 September 2017, 13:37 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 23 September 2017, 14:34 GMT
|
Details
Description:
Running programs with jdk9-openjdk throws "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty". It seems like the path to the SSL truststore is not correct. A workaround is to set the Java option: -Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts. Additional info: * jdk9-openjdk 9.u181-1 Steps to reproduce: Run any Java program that establishes SSL connections. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 23 September 2017, 14:34 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#55716
Saturday, 23 September 2017, 14:34 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by
Julien Nicoulaud (nicoulaj) -
Saturday, 23 September 2017, 13:45 GMT
I believe /usr/lib/jvm/java-9-openjdk/lib/security/cacerts should
be symlinked to /etc/ssl/certs/java/cacerts as it was the case on
java-7-openjdk and java-8-openjdk.