Control: reassign 795244 ca-certificates-java 20140324
On 08/12/2015 03:35 AM, Christian Hammers wrote:
One of my Java applications does not recognize a CA certificate from
/usr/local/share/ca-certificates/ as valid so I tried the following
program in the hope it would somehow update the Java Keystore.
It does not work though:
# java -Xmx64m -jar
/usr/share/ca-certificates-java/ca-certificates-java.jar -storepass changeit
Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
String index out of range: -1
at java.lang.String.substring(String.java:1875)
at
org.debian.security.UpdateCertificates.parseLine(UpdateCertificates.java:89)
at
org.debian.security.UpdateCertificates.processChanges(UpdateCertificates.java:76)
at
org.debian.security.UpdateCertificates.main(UpdateCertificates.java:53)
The command line options were taken from
/etc/ca-certificates/update.d/jks-keystore.
Maybe this is caused by limited network connectivity as the server
is behind a firewall but even in this case, the error message is a
bit vague.
I'm assigning this to the correct package.
/usr/share/doc/ca-certificates-java/README.Debian says it "doesn't
automagically handle local certificates" - just an observation.
--
Kind regards,
Michael