• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

carlos sanchez
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!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!