WC1 API Certificate error

Hello,

I am currently trying to integrate our SAP system with WC1 API for synchronous screening. However, on the initial calls we are receiving the below error related to Certificate / SSL Handshake.

com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

Kindly let me know what needs to be done here & if the certificates needs to be downloaded for solving this issue how to get the same.

Thanks and regards,

Ramya.

Best Answer

Answers

  • @ramya.varrier

    Hi,

    Can you please refer to the existing query on the portal for insights?

    https://community.developers.refinitiv.com/questions/43017/how-can-i-download-the-service-certificates.html


    Let us know if you need any further information.

    Regards,

    Mehran Khan

  • Mehran.Ahmed Khan - Thank you for the reply. As said if our system calls the endpoint of WC1 certificates are automatically downloaded in out trusted sources, currently whenever the calls are happening from our SAP system seems it is not reaching WC1 and the error pops up. We have API key & secret which we are passing in the call. Apart from that as the documentation mentions, do we need to pass the Signature as well? Or Signature is automatically generated with API Key & Secret. Kindly Clarify.

    "Authentication

    Message authentication is managed via API keys and HMAC-based message signatures. Every API request needs a message signature in order for it to be processed."