• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.SecurityException: Jurisdiction policy files are not signed by trusted sign

 
Parul Saxena
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have implemented encryption and decryption of some token data in jsp using JCE(Java Cryptography extensions), we are able to run successfully this code on windows with Weblogic and Tomcat but receiving following exception while running it on Solaris with iPlanet.

JDK version: jdk142_13.

Also a standalone application with the same cryptography code is able to give the desired results on the solaris with same jdk version.

Added following jars in the classpath for iPlanet:
->jce.jar
->jsse.jar
->sunjce_provider.jar

[11/Mar/2008:07:46:20] failure ( 3748): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.ExceptionInInitializerError
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.getInstance(DashoA12275)
at _jsps._vzESPGetToken_jsp.encryptData(_vzESPGetToken_jsp.java:56)
at _jsps._vzESPGetToken_jsp._jspService(_vzESPGetToken_jsp.java:163)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.SunJCE_b.<clinit>(DashoA12275)
... 8 more
Caused by: java.lang.SecurityException: Jurisdiction policy files are not signed by trusted signers!
at javax.crypto.SunJCE_b.g(DashoA12275)
at javax.crypto.SunJCE_b.f(DashoA12275)
at javax.crypto.SunJCE_t.run(DashoA12275)
at java.security.AccessController.doPrivileged(Native Method)
... 9 more

We have already put lots of efforts and still not able to resolve the issue, this is happening only when we are trying to access jsp on iPlanet.

If anyone is having any suggestions, please reply.
Its very urgent.

Thanks,
Parul
 
Sireesha Gaddipati
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having the same problem. Did you fid a solution yet?

Thanks,
Sireesha
 
rakesh sugirtharaj
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know the soluton but this error probably occurs because of the difference in jvms - between IBM and Sun's versions. does someone know the solution?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic