Win a copy of Svelte and Sapper in Action this week in the 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

keytool question

 
Ranch Hand
Posts: 275
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a small bunch of webstart applications (mostly just board games).
I set up a key using keytool a while back but the certificate has now expired.
I tried reading the keytool documentation but it reads like Greek to me.
Can anyone explain what commands I need to run to get my stuff back on line?

Here's the link for my checkers program which is now no longer working.

Thanks for your time.
 
Bartender
Posts: 1166
17
Netbeans IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very nice game - it still works for me but my JNLP uses a fairly old JRE. Due to changes to the security model for Applets and Webstart applications, people using the latest JRE will not be able to play the game unless you pay out cash to get a certificate from a major CA or get users to manually add your certificate to their cacerts.
 
Mich Robinson
Ranch Hand
Posts: 275
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the comment but isn't it possible to self sign? or is it possible to write the code in such a way that it doesn't do anything outside the sandbox and so be allowed?

I was told that applets are a thing of the past. Applications are difficult to keep up to date and that webstart was the proposed way forwards. The problem for me is that the user gets loads of warning saying that they're running a Java program of the internet which discourages many folk. If it was released as an exe then there'd probably be fewer warnings but I can't seem to work out how to do this either (I've tried launch4J and I'm currently trying netbeans but there are loads of compromises required).
 
Richard Tookey
Bartender
Posts: 1166
17
Netbeans IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mich Robinson wrote:Thanks for the comment but isn't it possible to self sign? or is it possible to write the code in such a way that it doesn't do anything outside the sandbox and so be allowed?


The changes to the security model mean that one always needs to sign WebStart applications and Applets using a certificate signed by one of the CA in your clients cacerts. In my view the latest restriction go too far but Oracle are not going to back down.


I was told that applets are a thing of the past. Applications are difficult to keep up to date and that webstart was the proposed way forwards. The problem for me is that the user gets loads of warning saying that they're running a Java program of the internet which discourages many folk.


I have withdrawn all my JNLP applications and all but one of my Applets and this will be withdrawn as soon as the users move over to the latest JRE.


If it was released as an exe then there'd probably be fewer warnings but I can't seem to work out how to do this either (I've tried launch4J and I'm currently trying netbeans but there are loads of compromises required).


Of course as an exe it would only run on Windows which would defeat one of the primary reasons for using Java.

I'm very discouraged by these changes to the Java security model and I'm pleased I have retired and no longer need to earn a living using Java.
 
You guys wanna see my fabulous new place? Or do you wanna look at this 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