title: Is there any way to force WSO2 API Manager accept untrusted certificates?
body: <p>I'm wondering if There is a way to force WSO2 API Manager accept untrusted certificates.
  I want to use HTTPS endpoints in Publisher , And I do not want to import public certificate to client-truststore.jks and wso2carbon  every time.</p>
  
  <p>I also tried to set HostnameVerifier to allowAll, but still same error happens.</p>
  
  <blockquote>
    <p>exception : PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</p>
  </blockquote>
  
  <p>I am working on WSO2 API Manager 2.1.0  </p>
  
  <p>Many Thanks.</p>