• 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

It'll work in my computer but not on his! (I've signed an applet)

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody!
I've signed an applet to run in a an app over a tomcat. I've created the certificates and signed the jar, and everything seems to work fine untill I get an Excpetion trying to acces from another computer in the LAN.
When I type the URL the certificate pops out and I grant the session, but I get an java.net.ConnectException: Conection refused: connect.
Does this thing have to do with the certificate, here's the batch I use to generate & regenerate it:
****--First I clean the ones generated before^--****
del SSignedApplet.jar
del SignedApplet.jar
del CompanyCer.cer
del compstore
*******--Create the jar--*******
jar cvf SignedApplet.jar bajadaApplet.class
*******--create the database with the entries--********
keytool -genkey -alias signFiles -keystore compstore -keypass kpli35 -storepass ab987c
*******--sign the jar --********
jarsigner -keystore compstore -storepass ab987c -keypass kpli35 -signedjar SSignedApplet.jar SignedApplet.jar signFiles
*******--export the certificate----******
keytool -export -keystore compstore -storepass ab987c -alias signFiles -file CompanyCer.cer
Well thanks!
Don't ever let your computer know you're in a hurry!
Bras cause cancer. And tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic