java - How to enable ssl/https on linux tomcat server(works with intern IP)? -
i've got problem setting tomcat on linux secure connection. servlets work fine normal http requests, when changing server.xml file https configuration, servlet addressable through intern ip. created .keystore file in home directory. fact, https connection(after accepting certificate) works within intern network makes me believe router related problem (i opend , forwarded port 8443 on router).
thanks help!
server.xml:
<connector port="8080" protocol="http/1.1" connectiontimeout="20000" uriencoding="utf-8" redirectport="8443"/> ... <connector port="8443" protocol="http/1.1" sslenabled="true" maxthreads="150" scheme="https" secure="true" clientauth="false" sslprotocol="tls" keystorefile="/home/user/.keystore" keystorepass="password" />
Comments
Post a Comment