Self signed certificates are common, especially on testservers. The java default solution to add the certificate to every developers and buildservers java vm is a pain in the ass. For the play WS api there is an easy workaround.
To use soap webservices with JaxWS and self signed certificates I found SSLUtilities.java on Srđan Šrepflers Blog.
To use it you have add the following static calls to the class with the webservice call:
1 2 3 4 | static { SSLUtilities.trustAllHostnames(); SSLUtilities.trustAllHttpsCertificates(); } |
Information about Data protection