Solved

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

Posted on 2004-04-16
3
628 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
  • 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JRE and project layout option 6 86
Webserver Error 4 40
Java Application is Unable to connect to correct schema(Error : 404) 11 87
method inner class 6 83
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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