Ok I’m going to revive this thread…
I’ve been able to setup my applet correctly, so that if i tried to run it from a double-click on the index.html file, the applet is loaded in the browser.
My problem is when I put it into the www folder of my server and try to access it via IP. When I do this, all the jars are loaded and at the end I get this error:
This occurred while 'Extracting downloaded packages'
Unable to validate certificate chain. Chain differs in length [1 vs 4]
java.lang.Exception: Unable to validate certificate chain. Chain differs in length [1 vs 4]
at org.lwjgl.util.applet.AppletLoader.validateCertificateChain(AppletLoader.java:1439)
at org.lwjgl.util.applet.AppletLoader.extractNatives(AppletLoader.java:1414)
at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:748)
at java.lang.Thread.run(Unknown Source)
I have all my jars signed with the same certificate that I’ve created with:
Create the keystore:
keytool -genkey -keystore myKeyStore -alias mycert
Create the certificate:
keytool -selfcert -keystore myKeyStore -alias mycert
And then, for all my jars, I use jarsigner to sign them:
jarsigner -keystore myKeyStore jarfile.jar mycert
What am i doing wrong?