Working with external interfaces often needs a secured connection, mostly implemented using SSL. I recently ran into some fresh setup of two hosts, sending each other SOAP requests via HTTPS.
Being a Java developer at my office, I got some error messages quite unknown to me, but after some reading of blogs and with other informational sources the problems had been fixed. Understanding the concept behind SSL and how the SSL handshake works are crucial when trying to understand error messages and to know where to fix them.
In case you are trying to use SSL connections with certificates in combination with Java you may have a look at a little how-to I wrote at my employers Hypoport IT Blog. It’s written in German, but I guess you can understand most parts. Most of its content is taken from another article, enhanced with additional tips and solutions for special issues.