Reputation: 3975
My Tomcat 7 is running on Port 4545. How do I configure it to accept HTTPS connection on 4546 or something else. I can't have it on default 443 as there is already IIS running.
UPDATE
Steps I tried out:
Upvotes: 3
Views: 1236
Reputation: 17422
In tomcatDir/conf/server.xml look for this line:
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
It is self-explanatory, just take into account that you also need to have certificates in order for SSL to work properly.
Also, have a look at its documentation that explains how to specify your certificates: http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
Upvotes: 4