Marcus Krantz

Remote deploy to Tomcat 7 using Cargo

March 12th, 2012

One of the last days in my current project I was about to freeze the codebase and finish things up. Luckily, I had a couple of hours left to play around with something that I have been thinking about throughout the project but never had time to implement. My mission was to deploy the application [...]

Posted in Agile, Build, Build automation, Tools, Uncategorized | 2 Comments »

Android – TLS/SSL Mutual Authentication

November 24th, 2011

Due to the explosion of smart phones on the market, the need for exposing existing enterprise systems through the mobile channel is growing rapidly. One of the first questions that will come up is how we can establish a secure communication channel with the existing enterprise system.
In this article, I will cover both how to [...]

Posted in Android, Java, Mobile, Security | 21 Comments »

Quick Start – Jetty’s maven plugin with SSL

November 24th, 2011

Speed is the key. I often need a web server in order to run a web application I developed to try things out. Setting up this infrastructure can often be quite tedious but if the only thing you need is a servlet container I often use the approach described in this article. We start out [...]

Posted in Build, Tools, Uncategorized | No Comments »

Creating self-signed certificates for use on Android

November 24th, 2011

A while ago I started to implement TLS/SSL mutual authentication on Android. How to actually implement the functionality on the Android platform is covered in my other article “Android – TLS/SSL Mutual Authentication”. Before such implementation can be done, it is important to have the keys and certificates prepared. In this article demonstrate how you [...]

Posted in Android, Mobile, Security | 13 Comments »

Curl, Mutual Authentication and Web Services

April 4th, 2011

In a recent project, I was assigned to setup monitoring of a set of web services. The idea was to call the web services every 5th minute and check whether they operated normally or not, i.e a valid SOAP response was returned. The web services used SSL Mutual Authentication to authenticate the calling client. Since I [...]

Posted in Security, Tools, Uncategorized | No Comments »