title: ERR_INSECURE_RESPONSE handing tips in Javascript
body: <p>We have a lot of ajax calls from our web application and the thing is all are https request (our IT team mandates), yes we have opened up the headers to allow cross domain. But the problem is we have our own custom certificate used internally for all of our apps so basically I get error when we call ajax:</p>
  
  <blockquote>
    <p>Failed to load resource: net::ERR_INSECURE_RESPONSE</p>
  </blockquote>
  
  <p>If I open the URL in browser and accept the certificates the ajax calls works fine. So my question is, is there a way to handle this via Javascript? Or would adding trusted certificate would resolve this issue? Also even after we add trusted certificate would again I face any issue in ajax?</p>
  
  <p>Note: We are testing all these in chrome browser</p>