File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The signer certificate will expire within six months.

 
ParagS Kulkarni
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic