Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now