title: WSO2 API Manager "unable to find valid certification path to requested target {org .wso2.carbon.apimgt.hostobjects.APIProviderHostObject}"
body: <p>We have deployed a WSO2 API Manager to expose the APIs of the system. When we published an API with a https target endpoint (Eg: <a href="https://abc.d.e" rel="nofollow noreferrer">https://abc.d.e</a>:), the requests get failed with the following exception.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>TID: [-1234] [] [2017-06-26 06:46:43,226] ERROR {org.wso2.carbon.apimgt.hostobje
  cts.APIProviderHostObject} -  Error occurred while connecting to backend : https
  ://list-micro.aws.na.sysco.net:9090, reason : sun.security.validator.ValidatorEx
  ception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBu
  ilderException: unable to find valid certification path to requested target {org
  .wso2.carbon.apimgt.hostobjects.APIProviderHostObject}
  javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
  PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExce
  ption: unable to find valid certification path to requested target
          at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
          at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
          at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
          at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
          at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.
  java:1514)
          at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.jav
  a:216)
          at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
          at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
          at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)</code></pre>
  </div>
  </div>
  </p>