Edit :- Tried to format the question and accepted answer in more presentable way at mine Blog
Here is the original issue.
I have this problem too.
I tried almost everything by adding the SSL cert to .keystore, but, it was not working with Java1_6_x. For me it helped if we start using newer version of Java, Java1_8_x as JVM.