Search code examples
javaappletcertificatedigital-certificate

self-signed applet without popups


I have a self signed applet running in our intranet. We want to achieve that the browser would not ask for any confirmation before allowing the applet ro run.

I tried to add our certificate to the java's cacerts file with no success.

keytool -alias myCACert -import -keystore C:\dev\jdk-8u51-windows-x64\jre\lib\security\cacerts -file myCACert.cer

Also adding the certs using java control panel doesn't work as well.

Am I missing something or it is not going to work at all?

Thank you.


Solution

  • I have managed to get it working by removing chanined certificates and importing the certificate to the JRE's cacerts file.