title: Connection refused after installing SSL certificates into tomcat server
body: <p>I got 3 security certificates from godaddy.</p>
  
  <p>1.<em>gdig2.crt</em> --- intermediate certificate</p>
  
  <p>2.<em>gd_bundle-g2-g1.crt</em> ---- root certificate</p>
  
  <p>3.<em>731e59c245c09675.crt</em> ----- certificate issued</p>
  
  <p>I created keystore using keytool and cofigured all three above certificates like this.</p>
  
  <p>1.configuring root certificate </p>
  
  <p><strong>keytool -import -alias root -keystore /home/ec2-user/Temp/keystoreft -trustcacerts -file /home/ec2-user/Temp/gd_bundle-g2-g1.crt</strong></p>
  
  <p>2.configuring intermediated certificate</p>
  
  <p><strong>keytool -import -alias intermed -keystore /home/ec2-user/Temp/keystoreft -trustcacerts -file /home/ec2-user/Temp/gdig2.crt</strong></p>
  
  <p>3.configuring other certificate </p>
  
  <p><strong>keytool -import -alias tomcat -keystore /home/ec2-user/Temp/keystoreft -trustcacerts -file /home/ec2-user/Temp/731e59c245c09675.crt</strong></p>
  
  <p>configuring tomcat to use ssl certificates in server.xml file</p>
  
  <pre><code> &lt;connector port="8443" protocol="HTTP/1.1" maxThreads="150" scheme="https" secure="true" SSLEnabled="true" keystoreFile="/home/ec2-user/Temp/keystoreft" keystorePass="12345678" clientAuth="false" keyAlias="keystoreft" sslProtocol="TLS"/&gt;
  </code></pre>
  
  <p>when i try to access the website it is giving error connection refused exception on browser.</p>