Link to home
Start Free TrialLog in
Avatar of jackiemani
jackiemani

asked on

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

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,
ASKER CERTIFIED SOLUTION
Avatar of isoplane
isoplane

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jackiemani
jackiemani

ASKER

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.
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