srujanmiryala
asked on
Implementing SSL
Hi,
In my application i'm using struts 2, spring and hibernate. Now im asked to develop a https page for payment integration in our application. I had never worked on it before Could any one please suggest me a good way to implement it
In my application i'm using struts 2, spring and hibernate. Now im asked to develop a https page for payment integration in our application. I had never worked on it before Could any one please suggest me a good way to implement it
Which server our using ???
If your Using apache...
then try this link ...
http://www.apache.com/how-to-setup-an-ssl-certificate-on-apache/comment-page-1/
then try this link ...
http://www.apache.com/how-to-setup-an-ssl-certificate-on-apache/comment-page-1/
ASKER
I'm using Jboss AS 5.1.0
Execute the following command on the console to generate the Key.
Step 1: keytool -genkey -alias tomcat -keyalg RSA
<System will ask for Keystore Password, Your Name, Company, City State, etc..> Answer these questions
Step 2: Uncomment the following Connector on Server.xml and update the highlighted path.
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
keystoreFile="/home/kamran/.keystore" keystorePass="changeit"
clientAuth="false" sslProtocol="TLS" compression="on" />
Step 3: Access your application using https protocol, with 8443 port
For Eg: https://127.0.0.1:8443/<yourapplication>/
Reference URL: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.