I am using plug in 1.3.2 and I signed my applet with a test certificate.
My applet is working fine only if I put my cacerts file in the user
lib/security folder first.
If I don't put my file in the above location I get the following exception:
java.security.cert.CertificateException: Unable to verify the certificate
with root CA at
sun.plugin.security.TrustDecider.isAllPermissionGranted(Unknown Source) at
sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source) at
java.security.SecureClassLoader.getProtectionDomain(Unknown Source) at
java.security.SecureClassLoader.defineClass(Unknown Source) at
java.net.URLClassLoader.defineClass(Unknown Source) at
java.net.URLClassLoader.access$100(Unknown Source) at
java.net.URLClassLoader$1.run(Unknown Source) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(Unknown Source) at
sun.applet.AppletClassLoader.findClass(Unknown Source) at
sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at
sun.applet.AppletClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at
sun.applet.AppletClassLoader.loadCode(Unknown Source) at
sun.applet.AppletPanel.createApplet(Unknown Source) at
sun.plugin.AppletViewer.createApplet(Unknown Source) at
sun.applet.AppletPanel.runLoader(Unknown Source) at
sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown
Source) No security established. applet:
http://172.16.1.219/pmx_13/ In
applet destroy
How can I avoid getting this error with out having to put my file on the
user computer ?
Thanks,
Eran