Certificate issues with openjdk under Debian

In: Linux|Security|Software

15 Jun 2009

Currently we are developing the connection to mPAY to handle payments for our online time tracking application timr.com. mPAY provides a https URL that takes the payment parameters and returns if the transaction was successful. When testing the call to this URL from our server we always got the following error message:

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

A google searched showed some pages where errors like these were discussed (like here). It seems like there is a bug in openjdk-6-jdk 6b11-9.1+lenny2. The symbolic link /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts is directing to the file /etc/ssl/certs/java/cacerts which is missing. It should be included in the package ca-certificates-java but that package is unavailable under Debian lenny.

I hope this bug is fixed in a future openjdk version, meanwhile I copied the file from one of my Ubuntu servers.

Comment Form

Follow Me!

Photostream

    P1010008 (2)P1010026P1010028P1010021P1010009 (2)P1010033 (2)

RSStOMPSON's tweets