Hi

I finally discovered what is the issue here. In appears that in case of
unsigned applets, the code is unable to access SunJCE provider which
contains most of the ciphers used by SSL protocol. This means that a
session with SSL server is broken and effectively applet is not
initialised.

This problem is related to configuration of JRE under linux due to
export control restrictions. Unfortunately I don't know how to make JRE
to use SunJCE by default.

As a workaround I have set up the following policies using Policy
Manager:

grant {
  permission java.security.SecurityPermission "putProviderProperty.SunJCE";
};

grant {
  permission java.lang.RuntimePermission "getProtectionDomain";
};

grant {
  permission java.lang.RuntimePermission "accessClassInPackage.sun.security.*";
};

I don't know how insecure my actions are, but this definitely fixed
problems with applets under SSL / HTTPS.

Feel free to send me your ideas how to fix this issue in more elegant
way.

Best,
Marcin

-- 
Java applets do not work under SSL/HTTPS
https://bugs.launchpad.net/bugs/199680
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to