Hi Christian,

you have to replace all 8080 with 80 and all 8443 with 443. 80 is standard port for http and 443 is standard port for https. So if the URL is https://adress, the client requests the service via port 443. Tomcat uses different ports to avoid port conflicts with other application servers running on the same machine at the same time.


René

On Fri, 6 Jul 2007 00:26:24 -0700 (PDT)
 christianhau <[EMAIL PROTECTED]> wrote:

Hi!

I have set up a tomcat server with ssl that works fine as long as I go to the adress https://adress:8443 I want to get rid of the port number, is there any easy way to do this so that tomcat understands the https request
that comes in?

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" keystorePass="changeit" sslProtocol="TLS"
keystoreFile="/root/.keystore"
truststoreFile="/usr/lib/jvm/java-1.5.0-sun/jre/lib/security/cacerts" />

This is my ssl connector in my server.xml. I tried getting a redirct from http to https going but couldn't do that in tomcat alone, any tips on that
aswell? I have done this:

<Connector port="8080" protocol="HTTP/1.1"

redirectPort="8443" />

With no luck... Thanks for any help!!
--
View this message in context: http://www.nabble.com/How-to-remove-port-number-from-https-adress-and-redirect-http-to-https-tf4034030.html#a11459871 Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to