This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a signed applet. For signing it I have created a keystore using the following command
keytool -genkey -alias signFiles –keypass keypass123 -keystore paragkeystore -storepass storepass123
Then I sign it using the following command
jarsigner -keystore paragkeystore -signedjar sApplet.jar Applet.jar signFiles
It asks me the store passphrase & keypass password. I pass it & then it signs the jar file with the warning.
Warning: The signer certificate will expire within six months.
Can we get rid of this warning, I mean can we have the certificate that will not expire say for 2-3 years or more.
I found that we can pass the validity period for the security certificate. But still I am getting the same warning. My applet will run by the trusted clients machines only. So my boss is not willing to have a paid security certificate from any CA like Verisign etc. it costs arount $500 for a year.
I tried using validity attribute… but still that warning persists.