Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSL Configuration in Tomcat 5.0 1

Status
Not open for further replies.

vidz

Programmer
Jul 25, 2006
10
0
0
US
Hi,

I am trying to to Configure SSL in Tomcat 5.0. I created a new Keystore with a single self-signed certificate following the instructions in
keytool -genkey -alias tomcat -keyalg RSA

And this is the SSL Connector in server.xml
<Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" debug="0" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS"/>

But when i try to open the tomcat home page with in IE it says "Cannot find server"
Does anyone have an idea what is wrong?

Thanks in advance,
Vidya
 
If you are using Tomcat standalone (ie fronted by Apache HTTPD), then alter the port from 8443 to 443, and use the URL :




--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Thanks sedj for your quick response. It works now!!

 
Glad to hear it.

BTW, typo by me :

If you are using Tomcat standalone (ie fronted by Apache HTTPD)

Should read :

If you are using Tomcat standalone (ie not fronted by Apache HTTPD)

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top