|
Issue Scenario:
SAP ECC --> SAP PI --> SAP Business Network
Customers are trying to send a purchase order (PO) from SAP ERP (Enterprise Resource Planning) to SAP Business Network, and the PO fails in Process Integration (PI) with the following error.
[Error Level] 2[Error Code] ECC103[Error Desc] Ariba SN Not Available[Error Message] Cannot connect to Ariba SNcom.ariba.asc.connector.exception.AribaSNException: Cannot connect to Ariba SN
Caused by: 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
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:323)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217)
at sun.security.validator.Validator.validate(Validator.java:218)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1185)
... 30 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318)
The Error, “sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target ...” generally means that the certificate chain is not complete. This can occur if there is no trusted Certificate Authority's root certificate installed in the Trusted Key Store or the certificates are not installed on the correct path.
We provided the following suggestions to the customers, and we need to ensure:
Additionally, we provided the following solution, which resolved the issue.
The steps to import the security certificates for SAP NetWeaver Adapter follow:
Next, you must restart the Ariba XI adapter. If you still have issues, restart the J2EE server by following these steps:
Questions to ask to Troubleshoot Certificate Issues:
Note:
1) PI Upgrade / Changes in PI Communication Channel would overwrite the Certificate Information, and it is advisable to check the certificates and configurations after System / OS Upgrades.
2) Changes in Network / Firewall would also result in the same error, and customers need to check and validate whether the certificates are imported, necessary configurations are in place, and ports are opened from SAP PI to connect to SAP Business Network.
SAP Business Network for Procurement & Supply Chain