Hello!
This is the first time I'm using tomcat, so I'm a little bit lost...
Using the tutorials, I could make the server and the application I want to
run with it work.
The only modification I did until now was changing the http port from 8080
to 80, I did that changing the http conector on servers.xml, enabling
authbind and executing the folowing commands:

sudo touch /etc/authbind/byport/80
sudo chmod 500 /etc/authbind/byport/80
sudo chown tomcat7 /etc/authbind/byport/80

So, the server and the application I want to use with it are actually
working on port 80, but the next and last step, which is enabling an SSL
conection, isn't working.

What I did following the site's tutorial was: created my self signed
certificate with keytools and put it on /home/myuser/key.keystore
Aditionally, I've created the folowing conector:

<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
SSLEnabled="true"
               maxThreads="200" scheme="https" secure="true"
               keystoreFile="/home/myuser/key.keystore"
keystorePass="mypass"
               clientAuth="false" sslProtocol="TLS" />

Saved it, restarted server and accessed https://myip:8443, but it isn't
working.
Chrome says "No data recieved" and "Unable to load the webpage because the
server sent no data and "Error code: ERR_EMPTY_RESPONSE".

Firefox says that the connection was reset while the page was being loaded.

That's where I am now. I don't know what to try anymore.
Any ideas?

Thank you!

-- 
--
Alexandre Lima

Reply via email to