cacerts for OpenJDK on Haiku

Curtis Rueden ctrueden at wisc.edu
Mon Dec 22 19:52:36 UTC 2014


Hi everyone,

I am testing out the most recent nightly of Haiku. Installed OpenJDK with
pkgman, and all went off without a hitch -- amazing progress!

Then I installed Maven and tried to build a Java application. Java
complains:

  Unexpected error: java.security.InvalidAlgorithmParameterException: the
trustAnchors parameter must be non-empty

This is because recent versions of Maven use https by default for accessing
Maven Central [1], and it seems that the Haiku installation of OpenJDK does
not ship with the needed cacerts in $JAVA_HOME/jre/lib/security/cacerts.
Apologies if I missed the documentation about this somewhere, but... how do
I install them?

Regards,
Curtis

P.S. I worked around the issue by configuring Maven to use http instead,
but of course that's a security vulnerability long-term [2].

[1] http://www.infoq.com/news/2014/08/Maven-SSL-Default
[2]
http://blog.ontoillogical.com/blog/2014/07/28/how-to-take-over-any-java-developer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/haiku-port-dev/attachments/20141222/a3923bae/attachment.html>


More information about the haiku-port-dev mailing list