Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JCE 1.2.2 error - Cannot set up certs for trusted CAs

10 views
Skip to first unread message

nish...@gmail.com

unread,
Oct 24, 2006, 11:29:17 AM10/24/06
to
Hi,

I am using JCE 1.2.2 (on IBM-AIX) for one of my applications and got
the following error today:

Exception in thread "main" java.lang.ExceptionInInitializerError:
java.lang.SecurityException: Cannot set up certs for

trusted CAs


I had got a similar error last year (Jul 2005) when I was using JCE
1.2.1
That time, I had come to know that the JCE 1.2.1 Signing Certificate
was supposed to expire on July 27, 2005

(http://java.sun.com/products/jce/index-122.html)

Hence, as per the recommendation from java.sun.com, I had upgraded JCE
to 1.2.2 which solved the problem.

The JCE 1.2.2 FAQ (http://java.sun.com/products/jce/jce122_faq.html)
says:
"The validation code which checked for certificate expiration was
*ONLY* used in JCE 1.2.1. The validity period check *WAS REMOVED* from
JCE 1.2.2 and all successive J2SE releases. Hence these JCE versions do
not check the expiration date, and will not stop working after the
certificate validity period has expired."

But to my surprise, today (Oct 23, 2006) I got the same error as last
year.
I am now clueless as to how this can be fixed. Does JCE 1.2.2 have a
BUG?

Ideas/Suggestions/Solutions are most welcome. Please advise.


Thnx,
Nishant

0 new messages