0

I am making a $get request to a secure server in Angular. The problem is this is an internal server (which I have no control over) with a bad certificate and as a result I am getting mixed content error messages and my browser is not allowing the response to be displayed for security reasons.

Anything I can do to request data by HTTPS but also make sure I accept a non secure response?

$.get('https://internal.domain.com' + '' + $scope.account, function (data, status) {
    _.forEach(data, function (item) {
      $rootScope.hotNews.push(item);
    });
  });
Adrian E
  • 1,884
  • 3
  • 21
  • 33
  • Sadly, this is not possible. This post answer most of it : http://stackoverflow.com/questions/4565772/ajax-calls-to-untrusted-self-signed-https-fail-silently – sebastienbarbier Apr 15 '15 at 18:58

1 Answers1

0

Sadly, I found out its not possible... :(

Adrian E
  • 1,884
  • 3
  • 21
  • 33