title: IBM Worklight adapter - https backend peer not authenticated
body: <p>I was trying to connect to a https back end service from the Worklight adapters in my local pc for the my app.</p>
  
  <p>But I was getting the below error, then I posted a question <a href="https://stackoverflow.com/questions/21905150/making-web-service-calls-to-a-https-server-from-worklight-adapter-javax-net-ss">Making web service calls to a HTTPS server from Worklight Adapter - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated</a></p>
  
  <pre><code>Runtime: Http request failed: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  </code></pre>
  
  <p>I followed the steps given here  </p>
  
  <p><a href="http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m5/topic/com.ibm.worklight.help.doc/admin/t_ibm_worklight_server_and_self-signed_certificates.html" rel="nofollow noreferrer">http://pic.dhe.ibm.com/infocenter/wrklight/v5r0m5/topic/com.ibm.worklight.help.doc/admin/t_ibm_worklight_server_and_self-signed_certificates.html</a></p>
  
  <p>and imported a self signed certificate in the java cacerts keystore of my system and the adapters started working. Wow!!!</p>
  
  <p>Now, I have deployed my adapters over a WAS and followed the same steps, imported the certificate there also, but I am still getting the error when I try to use the adapters.</p>