I have a web application, which is reachable through https. The server has a proper SSL certificate and IE and Firefox trust it automatically.
A java applet is also part of this web application. It is a self signed applet, so the user has to go through a "run" dialogue.
The problem is that when the applet is loading I get an additional "the certificate of the server cannot be verified" message. Now this is the same certificate that has automatically been trusted by the browser.
In the java control panel the option "use certificates of browser keystore" is set. I've also tried to import the server certificate in the "security" tab of the java control panel, but without success.
How can I get my JRE to trust the server certificate?