I got 3 security certificates from godaddy.
1.gdig2.crt --- intermediate certificate
2.gd_bundle-g2-g1.crt ---- root certificate
3.731e59c245c09675.crt ----- certificate issued
I created keystore using keytool and cofigured all three above certificates like this.
1.configuring root certificate
keytool -import -alias root -keystore /home/ec2-user/Temp/keystoreft -trustcacerts -file /home/ec2-user/Temp/gd_bundle-g2-g1.crt
2.configuring intermediated certificate
keytool -import -alias intermed -keystore /home/ec2-user/Temp/keystoreft -trustcacerts -file /home/ec2-user/Temp/gdig2.crt
3.configuring other certificate
keytool -import -alias tomcat -keystore /home/ec2-user/Temp/keystoreft -trustcacerts -file /home/ec2-user/Temp/731e59c245c09675.crt
configuring tomcat to use ssl certificates in server.xml file
<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"/>
when i try to access the website it is giving error connection refused exception on browser.