tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blaxton <blaxx...@yahoo.com>
Subject Change Default SSL port on Tomcat
Date Fri, 16 Dec 2011 03:27:54 GMT
Hi

Apache 2.2 is connected to Tomcat 6.0.29 through mod_jk and all works fine.

uncommented Connector port=8443 and by adding required fields in web.xml
accessing secured pages would be forwarded to https with port 8443,
but when I change the port from 8443 to 443, the same URL that was
working with 8443, I get "Secure Connection Failed"

is there any thing else I need to do to change the default SSL port ?


did following steps to change the SSL port from Tomcat default to 443 but got 


1-  Generated /root/.keystore with following command:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA


2- then uncommented following lines in server.xml
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />

3- <Connector port="8009" protocol="AJP/1.3" redirectPort="443"/>


4- restarted tomcat
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message