Topic
  • 1 reply
  • Latest Post - ‏2012-02-29T19:00:12Z by MichaelMasiak
bmthomas
bmthomas
1 Post

Pinned topic java.lang.SecurityException: Cannot set up certs for trusted CAs

‏2012-02-03T16:19:02Z |
AIX 6.1

We see this following exception in our middleware application log which is running on AIX 6.1. This happens very sporadically. Does anyone have any idea how to resolve this issue?. java version is 1.5.0

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20100512a (SR11 FP2 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20100512 (JIT enabled)
J9VM - 20100509_57823_bHdSMr
JIT - 20091016_1845ifx7_r8
GC - 20091026_AA)
JCL - 20100512a


java.lang.NoClassDefFoundError: javax.crypto.b (initialization failure) java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
com.ibm.jsse2.cb.<init>(cb.java:66)
com.ibm.jsse2.eb.a(eb.java:300)
com.ibm.jsse2.eb.a(eb.java:27)
com.ibm.jsse2.db.m(db.java:283)
com.ibm.jsse2.db.a(db.java:108)
com.ibm.jsse2.jc.a(jc.java:380)
com.ibm.jsse2.jc.g(jc.java:444)
com.ibm.jsse2.jc.a(jc.java:1)
com.ibm.jsse2.jc.startHandshake(jc.java:35)
.....
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs javax.crypto.b.<clinit>(Unknown Source)
java.lang.J9VMInternals.initializeImpl(Native Method)
java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
javax.crypto.Cipher.getInstance(Unknown Source)
com.ibm.jsse2.gb.a(gb.java:55)
com.ibm.jsse2.p.<init>(p.java:169)
com.ibm.jsse2.p.a(p.java:43)
com.ibm.jsse2.q$a_.a(q$a_.java:24)
com.ibm.jsse2.q$a_.a(q$a_.java:7)
com.ibm.jsse2.q$a_.a(q$a_.java:8)
com.ibm.jsse2.q.a(q.java:76)
com.ibm.jsse2.s.a(s.java:17)
com.ibm.jsse2.s.e(s.java:56)
com.ibm.jsse2.SSLSocketFactoryImpl.getSupportedCipherSuites(SSLSocketFactoryImpl.java)
com.ibm.jsse2.ExportControl.checkCipherSuites(ExportControl.java:22)
javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:20)
... 225 more
Caused by: java.security.PrivilegedActionException: java.security.InvalidKeyException: Public key presented not for certificate signature java.security.AccessController.doPrivileged(AccessController.java:245)
Caused by: java.security.InvalidKeyException: Public key presented not for certificate signature
org.bouncycastle.jce.provider.X509CertificateObject.checkSignature(Unknown Source)
org.bouncycastle.jce.provider.X509CertificateObject.verify(Unknown Source)
javax.crypto.b.a(Unknown Source)
javax.crypto.b.access$500(Unknown Source)
javax.crypto.b$0.run(Unknown Source)
java.security.AccessController.doPrivileged(AccessController.java:241)
... 241 more
thread = Thread-32
Updated on 2012-02-29T19:00:12Z at 2012-02-29T19:00:12Z by MichaelMasiak
  • MichaelMasiak
    MichaelMasiak
    1 Post

    Re: java.lang.SecurityException: Cannot set up certs for trusted CAs

    ‏2012-02-29T19:00:12Z  
    Sorry, I do not have any information at this time. I am having the same problem so I will follow this thread.
    Thank you!