Error: "iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier"
SAP PI SAP Business Network adapter for SAP Netweaver(SAP Business Network adapter) used in Cloud Integration scenarios fails with below error in SAP Business Network adapter debug logs:
Error: SOAP: Error occurred: 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
Verify the SAP Business Network URL and keystore information in your SAP PI Communication Channel using below steps:
- Navigate to SAP PI Integration Builder.
- Locate the Communication Channel that uses SAP Business Network adapter which has the issue.
- Check for the GetProfile URL used in the channel to connect to SAP Business Network. (E.g. service.ariba.com etc)
- Check for the Trust Store View used in the channel which is the PI Java keystore name. (E.g. TrustedCAs)
Next, upload the latest AN server certificates for this AN URL using below steps:
Lastly, Stop and Start the Communication Channel from SAP PI Communication Channel Monitor.
Complete certificate chain of the latest SAP Business Network certificates of the GetProfile URL used in SAP Business Network adapter to connect to AN that were uploaded in your SAP PI Java keystore might have either expired or corrupted.
SAP Business Network for Procurement & Supply Chain