Problems getting signed applets to work in 1.2beta2

Madhu Siddalingaiah (madhu@madhu.com)
Tue, 10 Feb 1998 22:08:18 -0500

Date: Tue, 10 Feb 1998 22:08:18 -0500
From: Madhu Siddalingaiah <madhu@madhu.com>
To: java-security@web2.javasoft.com
Subject: Problems getting signed applets to work in 1.2beta2

I tried to do the simple thing:

Create an applet, JAR it with

jar -cf lister.jar *.class

Create keys:

keytool -genkey -alias madhu -keysize 512

Create a signed JAR file

jarsigner -signedjar signed.jar lister.jar madhu

All of this goes well, but when I use appletviewer to test the
applet, there is a 20 second delay, then a ClassNotFoundException
looking for Lister.class (the applet class itself).
I have tested the unsigned JAR file, and it works great.
I even unjarred the signed.jar file and all the entries looked
OK too.
Am I doing something wrong?
Is appletviewer broken?
Is jarsigner broken?

-- 
Madhu                         ~----=^=----~
http://www.madhu.com         /----=[__\
mailto:madhu@madhu.com               --'
301-996-5052 ____Unite for Java!__________http://www.javalobby.org