How to sign an applet as JAR

Hi,

I am facing an issue while singning an Applet as Jar files. I tried stpes given in various sites but it didnt work for me.

I followed these stesps.

1. keytool -genkey -alias sig

2.keytool -export -alias sig -rfc -file sig.x509

3.jarsigner C:\test.jar sig

When I execute the step 3, I got an error "jarsigner: certificate not found for: for" .

Please help me to resolve this issue,

Thanks

[447 byte] By [Donama] at [2007-10-2 20:27:04]
# 1
This post has a batchfile you can run to sign:Signing applets: http://forum.java.sun.com/thread.jsp?forum=63&thread=524815second post and reply 18 for the java class file using doprivileged
harmmeijera at 2007-7-13 23:09:57 > top of Java-index,Security,Signed Applets...