« A lesson in marketing from from an Indian economist | Main | Drastic action against comment spam! »

SunJCE is broken in J2SDK1.4.2

The handling of JCEKS keystores is broken in J2SDK1.4.2.

The first signs of the problem appeared in form of this error report. Instinctively, I suspected my own program, not the JDK. However, I couldn't reproduce the error with JDK1.4.1_05 but could easily do that with JDK1.4.2_02. And although the report mentioned only one instance of the problem, many of the JSTK utilities and programs that relied on a JCEKS keystore, failed. In fact, simple operations on JCEKS keystore using keytool, such as -genkey followed by -export, failed. In fact, the problem is acknowledged in a Java forum discussion as well.

As a workaround to this problem, I am making a maintenance release of JSTK, JSTK-1.0.1. This release allows a user to specify the keystore type as either JCEKS or JKS. Though the default remains JCEKS.


This page contains a single entry from the blog posted on October 28, 2003 11:15 PM.

The previous post in this blog was A lesson in marketing from from an Indian economist.

The next post in this blog is Drastic action against comment spam!.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33