I\'m trying to deploy a Java applet on my website. I also need to sign it, because I need to access the clipboard. I\'ve followed all the signing tutorials I could find bu
Here is a way to sign your jars and then check to see that all the class files are signed with your keystore.
#!/bin/bash
KEYSTORE=/home/user/NetBeansProjects/sign/keystore
FILES=`find /home/user/NetBeansProjects/Project/dist/ -name "*.jar"`
for f in $FILES;
do echo password | /usr/bin/jarsigner -keystore $KEYSTORE -verbose $f myself;
echo "Signed $f";
/usr/bin/jarsigner -verify -verbose -certs $f | grep X.509 | sort -u;
done