Bug#539283: ca-certificates-java: keytool fails when PEM file contains comments

Emmanuel Bourg ebourg at apache.org
Mon Mar 24 14:51:10 UTC 2014


This issue is a limitation of the default CertificateFactory in Java 6
(sun.security.provider.X509Factory). Starting with Java 7 comments are
properly skipped when parsing PEM files (see the readOneBlock() method
in X509Factory.java [1]).

Considering that OpenJDK6 is going to be removed for Jessie I suggest
marking this bug as wontfix.

Emmanuel Bourg

[1]
http://grepcode.com/file_/repository.grepcode.com/java/root/jdk/openjdk/7-b147/sun/security/provider/X509Factory.java/?v=source



More information about the pkg-java-maintainers mailing list