Hi Ailin,
for any SSL based communication (REST or SOAP) you need to configure the server certificate for the endpoint.
This is a self service option in BAWoC which you can access from "System Operations" main menu. When opening "System Operations" you'll see an entry called "Certificates". Here you can easily import a certificate by providing the URL you want to call in your service.
------------------------------
Michael Kirchner
Leading Technical Specialist - Digital Business Automation
IBM Technology
Germany
------------------------------
Original Message:
Sent: Thu August 19, 2021 04:11 PM
From: Ailin Cao
Subject: BAW v20 on Cloud: SSLHandshakeException
In BAW v20, when I try to call external REST APIs for AWS databases, I encounter this error:
JavaException: com.lombardisoftware.core.TeamWorksException: java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target
Am I missing a required configuration?
------------------------------
Ailin Cao
Associate Application Developer
IBM
------------------------------