Have a look to Java connection to HTTPS with self signed cert . From that what I read in that thread it looks like it is what you are looking for.
Have a look to Java connection to HTTPS with self signed cert . From that what I read in that thread it looks like it is what you are looking for.