Tomcat

Tutorial – Beginner Web Services

An introduction to using Axis . What is Axis? Axis is essentially a SOAP engine — a framework for constructing SOAP processors such as clients, servers, gateways, etc. The current version of Axis is written in Java.

Read more

Securing a Tomcat Webapp – Part 2

If you wish to password protect your webapp with an Apache .htaccess type authentication model, you require two configuration steps. The first within your WEB-INF/web.xml, add the following replacing rolename appropiately.

Read more

Securing a Tomcat Webapp

If you require a webapp to always run in https mode using a SSL key, then you need to add the following to your WEB-INF/web.xml configuration. <security-constraint> <web-resource-collection> <web-resource-name>jsp</web-resource-name> <url-pattern>*.htm</url-pattern> <url-pattern>*.

Read more

Generating an internal SSL Certificate (for tomcat)

How to Generate an internal SSL certificate Create the self-signed keystore $ su - $ URL="your.url.here";export URL $ cd /opt/tomcat/conf $ keytool -genkey -alias ${URL} -keyalg RSA -keystore ${URL}.keystore Enter keystore password: changeit What is your first and last name?

Read more