Two browsers and two JRE. One recognizes a certificate, but the other don't

Environment:

I have two browsers (Mozilla and Firefox) on my computer. Also I have JRE 1.4 and JRE 1.5.

Firefox uses JRE 1.5 (the last installed JRE).

After installation of JRE 1.5, Mozilla have been reconfigured

back to use JRE 1.4 (via the control panel of JRE 1.4 )

Problem:

If I run a signed applet with Firefox+JRE 1.5 - it works OK

(displayes the certificate dialog and so on ..)

If I open the same applet in Mozilla+JRE 1.4 no popup dialog is displayed

(as if the applet is not signed) and of course it has no permissions.

Dear colleagues, have anybody ideas?

[651 byte] By [Igor_Zhukovskya] at [2007-10-2 13:53:31]
# 1

The jre can be configured not to allow the dialog to display.

The java.policy can contain something like:

permission java.lang.RuntimePermission "usePolicy";

This causes the jre not to ask the user the "do you trust" question.

In the java control panel (jre 1.5) in the advanced tab under security there are many

options that will switch dialogs on or off.

Still problems?

A Full trace might help us out:

http://forum.java.sun.com/thread.jspa?threadID=656028

harmmeijera at 2007-7-13 11:56:03 > top of Java-index,Security,Signed Applets...
# 2

Still Problem.

In the java control panel (jre 1.5) in the advanced tab under security there are many options that will switch dialogs on or off.

The applet doesn't get permissions in JRE 1.4 and works fine in JRE 1.5, so I think (it list hope) that 1.5 settings don't concern it.

java.policy doesn't contain records like: permission java.lang.RuntimePermission "usePolicy";

Just in case I checked all possible java.policy files on the computer, i.e. both JRE 1.4 and 1.5 directories.

Full trace have brought no useful info but I seen there several interesting records like "deployment.javapi.jre.1.5.0_03 ...". It brings me to the idea JRE 1.4 uses something from resources/setting of 1.5.

May be it's a key of the problem, but I don't know still how to manage it and what to check.

Anyway thank you for the advices.

Igor_Zhukovskya at 2007-7-13 11:56:03 > top of Java-index,Security,Signed Applets...