Monthly Archive: May 2015

May 20

Tomcat 8 redirect and force SSL

Edit the tomcat8/conf/server.xml and add the following for 80, and another for 8080 if need be. <Connector port=”80″ protocol=”HTTP/1.1″ connectionTimeout=”20000″ URIEncoding=”UTF-8″ enableLookups=”false” redirectPort=”443″ /> Now Edit the tomcat8/conf/web.xml and at the bottom just above </web-app> put in the following and changing Entire Application to your application in webapps. <!– SSL settings. only allow HTTPS access …

Continue reading »

May 19

Java 8, tomcat 8, SSL setup from pfx, using 443

This took me a day to setup on a new CentOS Amazon image. To be honest I’d never configured SSL for tomcat before, and this was the first time that I’d used tomcat8. So I just want to go over the steps I had to do so I’ll remember all of the tweeks needed. Configuring …

Continue reading »

Close Bitnami banner
Bitnami