Pontus Posted December 30, 2009 at 12:32 PM Report Share #303173 Posted December 30, 2009 at 12:32 PM Boas pessoal Já alguém brincou com o Java Web Start? estou aqui com algumas dificuldades que tem a ver com as assinaturas dos jar's. Existe algum bom tutorial sobre isso? Obrigado Link to comment Share on other sites More sharing options...
Pontus Posted December 30, 2009 at 02:32 PM Author Report Share #303192 Posted December 30, 2009 at 02:32 PM Bem já descubri o porque da segurança. Visto o Java Web Start deixar em cache uma aplicação, que vai ter acesso aos recursos da máquina cliente e respectiva rede, temos de assinar o jar e criar um certificado, para criar o certificado: keytool -genkey -keystore myKeys -alias jdc (keytool é uma ferramenta do JDK) para assinar o Jar: jarsigner -keystore myKeys JNLPTime.jar jdc (não esquecer a pass escolhida no passo anterior) bem, penso que estes são os passos para isto funcionar de vez (hope so) Link to comment Share on other sites More sharing options...
Pontus Posted December 30, 2009 at 05:15 PM Author Report Share #303243 Posted December 30, 2009 at 05:15 PM aqui fica o método de criar os certificados keytool -genkey -keystore myKeystore -alias Pontus keytool -selfcert -alias Pontus -keystore myKeystore keytool -list -keystore myKeystore --> listar os nossos certificados jarsigner -keystore myKeystore test.jar myself --> assinar o jar keytool e jarsigner sao ferramentas do JDK Link to comment Share on other sites More sharing options...
vasco16 Posted December 30, 2009 at 08:40 PM Report Share #303287 Posted December 30, 2009 at 08:40 PM Obrigado, talvez me venha a ser util B) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now