GeeCON Prague 2014*
The moose likes Applets and the fly likes The signer certificate will expire within six months. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "The signer certificate will expire within six months." Watch "The signer certificate will expire within six months." New topic
Author

The signer certificate will expire within six months.

ParagS Kulkarni
Ranch Hand

Joined: Oct 04, 2004
Posts: 60
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.

Any clue?

Thanks, Parag
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42061
    
  64
I found that we can pass the validity period for the security certificate. But still I am getting the same warning.

That's odd. I've used "-validity 730" to set the certificate to expire in two years time.


Ping & DNS - my free Android networking tools app
 
GeeCON Prague 2014
 
subject: The signer certificate will expire within six months.