The Problem
I had the problem to access a web service out of a Glassfish Application Server (3.1.1). Basically this is not a problem because Glassfish (and Metro – the JAX-WS implementation in Glassfish) can handle web services quite well. But in my case there where some problems accessing the web service. My problems were:
- The web service has to be accessed via SSL.
- The certificate should not be stored in a truststore.
- The certificate has not the hostname as the CN.
The first problem is not really a problem but with the second problem together with the first one can be really tough to solve. So lets solve this problems ;-).
Continue reading