Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

The signer certificate will expire within six months.

 
Ranch Hand
Posts: 60
  • 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?
 
Rancher
Posts: 43016
76
  • 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.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic