+ Start a Discussion

HTTP error 400 Problem accessing /services/proxy

From our fullsandbox we are doing a SOAP call out to an outside server to retrieve data.  We have created a certificate and placed it on the outside development server and the outside production server.  When we execute the call out to development, it works fine.  When we edit our code and call out to production we get:

Failed HTTP ERROR 400

Problem accessing /services/proxy. Reason:

    Unable to forward request due to: sun.security.validator.ValidatorException: PKIX path building failed:  sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Powered by Jetty://


Does anyone have any suggestions why it works on the development box and not the production box when the certificate is identical?  We have both urls defined in the Remote Site Settings.



Which certification you have used for your external server?

Which means you need to download the certificate from production org and upload into your external server.


for example, when you connect to https://login.salesforce.com, the certificate will state that you have indeed reached "login.salesforce.com", so the browser knows it is talking to the right server.


if you connect https://test.salesforce.com then the certificate will reach sandbox only.