Win a copy of AWS Security this week in the Cloud/Virtualization 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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!
 
crispy bacon. crispy tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic