This happens when trying to get data from a remote service, I've only been able to find a solution to this exception for Sharepoint-server(farm)
The solution for a sharepoint farm is the following PowerShell script:
$farm=get-spfarm $farm.properties.disableintranetcalls=$false $farm.properties.disableintranetcallsfromapps=$false $farm.Update()
What I'm wondering is, is there an equivilent solution for Sharepoint-Online? or is this simply not possible to solve?
UPDATE I've created my own REST service, without an SSL and this works fine. What do you have to do in sharepoint-online to communicate with a self signed-cert httpS remote service?