title: java SSLHandshakeException General SSLEngine
body: <p>I have a Java server application (loaded with its own server certificate) tries to securely connect with another server (Microsoft - has its server certificate). </p>
  
  <p>They each have the trusted ROOT-CA certs loaded up and I can clearly see on both server. On Java side I loaded root-ca cert in JRE lib/security CA trust store as well as the application's trust store. On the Microsoft server it has root-ca loaded using MMC tool.</p>
  
  <p>During SSL handshake I keep getting this error: </p>
  
  <blockquote>
    <p>javax.net.ssl.SSLHandshakeException: General SSLEngine problem .....
    ..... Caused by: java.security.cert.CertificateException: Root
    certificate (subject: CN=blah.com, OU=ABC Communications Inc., O=CORP,
    C=US) of [blah.com] not trusted.</p>
  </blockquote>