Apache, Tomcat, CAS and certified SSL for free on Linux.

I found getting the Apache HTTP server, the Tomcat Servlet Container, Jasig's Central Authentication Service and SSL all configured and working together a complete pain in the arse. This documents a way which works for me without throwing any errors and with the minimum of effort. Even so there is still quite a bit to understand but at least it is now all in one place rather than grabbing small smatterings of information from different places overt the internet (thanks to everyone who has put up the information I have used to compile this).

Read More

Adding an SSL certificate to your java keystore in Linux

I found it difficult to get specific information on how to do this so I have detailed what worked for me. I was doing this in order to get Jasigs Central Authentication Server integrated with Tomcat. The error I was trying to solve was:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Read More

Struts 2 and SSL switching (part 2)

Setting up the Struts2 SSL switching plugin (part 2) for automatic SSL re-direction.

Read More

Struts 2 and SSL switching (part 1)

Adding SSL switching support to Struts2 using the SSL Switching plugin.

Read More