title: Java Application using Https Connection:"Connection refused error"
body: <p>I have  created a jar for my JavaAppliaction.From this application I am connecting to servlet (I am passing name and password from swing to servlet) in the WebApplicaton(here I am just displaying name and password in the servlet).</p>
  
  <p>I am passing data over SSL connection(Https). It is working fine in my system.But when I tried to run jar in another system I am getting “Connection refused error”.</p>
  
  <p>Note:Running jar in another system which passes data over http connection is working fine.</p>
  
  <p>I have gone through this <a href="http://www.mkyong.com/webservices/jax-ws/suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/" rel="nofollow">link</a> which  suggested me to create a “jssecacerts” file and paste it in $JAVA_HOME/jre/lib/security folder of the “another system”. But I am still getting same error. Why is this not working??</p>