Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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

Signed applet jar

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
In my project i developed an applet and is successfully working inside the browser...i signed the jar file of my applet using the keytool and jarsigner command and when the signing procedure completed the terminal showed a message like this "this certificate will expire after six months".... Now this applet is successfully loaded and is asking for the authorization and is working perfectly....will it make any problem for my application after six months??? If so how can i avoid this condition??Please do help
 
Saloon Keeper
Posts: 6508
158
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you simply create and use a certificate that's valid for longer if 6 months is too short?
 
Nijin puthiya purayil
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Tim Moores..
Do you mean the self signed certificate??? I think it is having security risks...
Could you tell me how to make a certificate of our own, i am new to this topic....because of what i am asking for your help..
again thanks...expecting your reply
 
Tim Moores
Saloon Keeper
Posts: 6508
158
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you saying that the certificate you used so far wasn't created by you? If that's the case, ask for one that's valid for longer from whoever created it and gave it to you.
 
Nijin puthiya purayil
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:Are you saying that the certificate you used so far wasn't created by you? If that's the case, ask for one that's valid for longer from whoever created it and gave it to you.



Actually i followed the procedure i found in the site http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html#top to generate the certificate and sign the jar...because this was my first attempt to sign a jar file...
is there any possibility to change the time duration or the timestamp of my certificate??? so to do as you said i think i have to search again.....if you can help me please do help...
thanks for your reply Moores
 
Tim Moores
Saloon Keeper
Posts: 6508
158
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the documentation for keytool; I think the option you need to use is called "-validity".
 
Nijin puthiya purayil
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:Read the documentation for keytool; I think the option you need to use is called "-validity".


Thank you very much Tim Moores...
that was the option i'm looking around...thanks a ton....
 
Bring out your dead! Or a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic