+ Start a Discussion
MatrixSolutionsMatrixSolutions 

Is it possible to use self-signed certificate on IIS? APEX->WebService

Communication between APEX code and WebService hosted in IIS

We have WebService hosted on IIS.

We have configured inbound SSL connection to the site by self-signed certificate. This certificate is not trusted on usual PC because we are using its in for debug purposes.

 

We trying to call our web service from APEX code by execute SOAP stub.

We have the following error: IO Exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

As I understand this error means that salesforce APEX virtual machine does not trust our self-signed certificate, is not it?

 

How to avoid this?

alin.ax1241alin.ax1241

Has this been resolved?  I am also experiencing the same error when trying to perform callout from our SF sandbox to our internal development server.  I appreciate if anyone can post the workaround to this.

ZjamZjam
Hello did you manage to resolve this ? 
could you please share the steps for iis certificate and  private key ?
Sean William 9Sean William 9
Thanks to the author for sharing valuable content with us. We offer Sales Force Experts. Still for users if they need multi-device support, connect with a Geek Support (https://igeeksupport.org/geeksupport/) executives today! Geeks Support Chat Agent (https://igeeksupport.org/geekschatgent/) experts deliver expendable services for Remote based devices. Connect through Chat for your issues with our Geek Chat (https://igeeksupport.org/geekschat/)live agent and resolve problems instantly.