Problem in signing applet ("self-signing")

Hi,

I'm trying to sign an applet and i'm not having success.

When i try to call my signed (?) applet, <applet archive="sms/SSms.jar"></applet> i get an error ("Applet notinitied"). What i did to sign my applet was:

C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\sms>jar cvf Sms.jar Sms.class

C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\sms>keytool -genkey -alias signFiles -keystore compstore -keypass pwdteste -dname "cn=sms" -storepass pwdstore

C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\sms>jarsigner -keystore compstore -storepass pwdstore -keypass pwdteste -signedjar SSms.jar Sms.jar signFiles

and then i started my localserver and tried to call the applet: ERROR! :(

Do i have to do something with the files created (SSms.jar and compstore)? Like put them in my home server directory (what i've already did). Or in the applet?

Thanks,

Nuno Almeida

[949 byte] By [nfalmeidaa] at [2007-10-1 19:37:14]
# 1
Use the htmlconverter.exe in the jdk bin directory so the htlm page uses the object tag.Signing applets: http://forum.java.sun.com/thread.jsp?forum=63&thread=524815second post and last post for the java class file using doprivileged
harmmeijera at 2007-7-11 15:53:07 > top of Java-index,Security,Signed Applets...