Skip to Content

SOAP Receiver Adapter – Failed to open the connection to the URL

Hi, I can’t open the connection to a HTTPS Web Service, I already import the certificates into the TrustedCAs Keys, and also I check the WS into the subnet with SoapUI and works. Do I need another configuration in PI?

Thanks and Best Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 23 at 03:17 AM

    Hi Sebastian,

    Did you check if the connection/firewall is open. It seems you are unable to reach the system. If the system is on internet and you have proxy server in the landscape, it is worth while configuring the proxy connection in received SOAP to test it.

    regards,

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 24 at 09:06 PM

    Hi,

    If websevice hosted by PI, as of your case, PI Client certificate use for this communication.

    Follow this blog : https://blogs.sap.com/2013/09/20/sender-soap-adapter-https-with-client-authentication/

    Also, check whether you maintained .crt chain in correct keystore view or not as maintained under : http://<host>: port>/nwa/DestinationTemplates

    Regards,

    Anoop Rai

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28 at 06:54 AM

    Dear Sebastian

    Please check if you can take the ICM trace from SAP PI, there you will be able to see which certificate has been rejected and you will be able to see the certificate as well

    Take out the certificate, save it and add it to the Trusted CA

    Also check the HTTPS webservice by directly calling it in the web browser and check all the chain of its certificates from the security button on the browser and compare them with the ones you have added in the PI

    Thanks and Regards

    Sikander

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 23 at 02:39 PM

    Hi Harish, the url is reachable by the PI server, the site uses TLS 1.2, so seems to load the certificates to the TrustedCAs is not enough.

    the error message:

    com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Failed to get the input stream from socket: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier

    Regards

    Add comment
    10|10000 characters needed characters exceeded