aspose file tools*
The moose likes Applets and the fly likes Signed applet jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Signed applet jar" Watch "Signed applet jar" New topic
Author

Signed applet jar

Nijin puthiya purayil
Ranch Hand

Joined: Nov 09, 2011
Posts: 32
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
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Nov 09, 2011
Posts: 32
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Nov 09, 2011
Posts: 32
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
Read the documentation for keytool; I think the option you need to use is called "-validity".
Nijin puthiya purayil
Ranch Hand

Joined: Nov 09, 2011
Posts: 32
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....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Signed applet jar