Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
DetailsDescription:
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.