Solved

Should jce files be installed on the client machine?!?

Posted on 2004-04-16
3
631 Views
Last Modified: 2013-12-10
Hi,
I'm writing a signed applet that makes use of JCE to decript some parameters.
The applet should work fine by just open it in a browser (that's the whole point in being an applet) and accepting the certificate that the applet contains.
In the applet html "archive" tag I added the JCE jars (sjce1_2_2.jar, local_policy.jar, sunjce_provider.jar, US_export_policy.jar) together with my applet jar .

Now, I can oly make the thing work if I add in my java plugin jre/lib/ext directory the JCE files.

Is this normal?!?
I mean to ask a client to install JCE and put the jar files in his plugin extension directory the JCE jars in order to be able to run my applet?

It doesn't make any sense!

Any ideas that I might use? Am I doing something wrong? Shouldn't JCE run fine with applets without installing anything on the client machines?

Thanx anyway,
0
Comment
Question by:jackiemani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
isoplane earned 50 total points
ID: 10868443
Hi.

Your requirement is to support JRE 1.3 (as 1.4 comes with JCE)? Otherwise it may be easier to ask the client to upgrade to 1.4, also bringing up arguments such as performance and other improvements :)
Also check how are you signing the Applet. AFAIK the default cipher is DSA for the Java plugin and RSA for JSSE. Try signing with a DSA key...

Cheers.
0
 

Author Comment

by:jackiemani
ID: 10873505
HI yes my requirement is to work with JRE1.3 as customers requirement is thus.I will check with Signing the applet with DSA i am currently signinig with rsa.
0
 

Author Comment

by:jackiemani
ID: 10873577
hi i get the same error as before.

java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Cannot locate policy and/or framework files for signer restraint check!


Can u guide me with Weblogic server settings that has to done.I will cross check once again.I have done the setting as per the document in java.sun.com.and  also reffered some forums.

Rgds
Mani

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Missing Plugin for Firefox - Can't View Content 7 188
Out of memory exceptions Tomcat 3 120
how to pass values from bean to JSF page 4 102
Question to Java runtime 10 209
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Suggested Courses

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question