title: java web service client trying to access web service through SSL - TrustManagerFactoryImpl is not initialized
body: <p>I'm a web service client and I'm connecting to the web service through SSL. </p>
  
  <p>It's a 2-way <code>SSL</code> and the producer has shared the certificate. I did run the InstallCert.java, got the alias and created a Keystore. 
  I'm using <code>weblogic</code> application server and I have placed my Keystore in it. </p>
  
  <p>Now when I run it, I'm getting an error, </p>
  
  <pre><code>Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: 
                                        TrustManagerFactoryImpl is not initialized
  </code></pre>
  
  <p>Before this I could see that it is trying to load the identity certificate and the private key. But as per standards the producer isn't willing to share the private key with us. </p>
  
  <p>Any suggestion on this would be of great help to me. Thanks.</p>