Getting "sun.security.validator.ValidatorException: PKIX path building failed:" error while calling HTTPS service even after uploading the client certificate in Admin console.

Hi,

Am calling an external HTTPS service through integration object and while executing the integration object am getting the below error

Failed to connect to 13.92.186.254:9443/.../token" detail: "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I have uploaded the client certificate (Admin console -> Client Certificates) which I have received from the target system but even after uploading the client certificate in Appian, while triggering the service am getting the above error.

Can anyone help me understand, after uploading the Client Certificate in Appian do I need to pass any of the reference of the uploaded certificate (Serial Number, Thumbprint) with the REST call request.

Any help is much appreciated.

 

Regards,

Balaji.R

 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Did you set up a connected systems object for your integration?
  • 0
    A Score Level 1
    in reply to Aditya
    Hi AdityaU,

    I understand the connected system is to define the authentication, in our case the HTTPS service which we are triggering through integration object doesn't have any authentication (i.e., Authentication->None). The service we are accessing is a WSO2 service which has no authentication and it will take "grant_type, client_id, client_secret" as input and responds with a "token". So while accessing this service only we are getting certificate error.
    Please let me know if the reference of the client certificate uploaded in Admin console to be passed in the Integration object.


    Regards,
    Balaji.R
Reply
  • 0
    A Score Level 1
    in reply to Aditya
    Hi AdityaU,

    I understand the connected system is to define the authentication, in our case the HTTPS service which we are triggering through integration object doesn't have any authentication (i.e., Authentication->None). The service we are accessing is a WSO2 service which has no authentication and it will take "grant_type, client_id, client_secret" as input and responds with a "token". So while accessing this service only we are getting certificate error.
    Please let me know if the reference of the client certificate uploaded in Admin console to be passed in the Integration object.


    Regards,
    Balaji.R
Children