+ Start a Discussion

System.CalloutException: Received fatal alert: handshake_failure

when I execute the following code :

HttpRequest req = new HttpRequest(); req.setEndpoint('https://myendpoint'); req.setMethod('POST'); req.setHeader('content-type', 'text/xml'); req.setHeader('SOAPAction','operation'); req.setBody(Mybody); Http http = new Http(); HTTPResponse res = http.send(req); System.debug('BODY: '+res.getBody()); } catch(System.CalloutException e) { System.debug('Call out errtor message : '+ e);



 then on the server side I can see that message : peer did not return a certificate No CAs known to server for verification? 


do I have to add something to my code to add the salesforce certificate .


Or do we have to change something on the server?