Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

The signer certificate will expire within six months.

 
ParagS Kulkarni
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?
 
Ulf Dittmer
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.
 
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic