BPM, Workflow, and Case

 View Only
  • 1.  BAW v20 on Cloud: SSLHandshakeException

    Posted Thu August 19, 2021 04:12 PM
    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
    ------------------------------


  • 2.  RE: BAW v20 on Cloud: SSLHandshakeException

    Posted Fri August 20, 2021 02:43 AM
    Hi Ailin,

    yes, select a SSL Configuration for your REST Server


    ------------------------------
    Jens Engelke
    ------------------------------



  • 3.  RE: BAW v20 on Cloud: SSLHandshakeException

    Posted Fri August 20, 2021 02:44 AM
    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.


    Once you have imported the certificate, you have to re-cycle your BAW instance (also from System Operations) by restarting the "Application Cluster".
    After completing these steps, you should be able to call the SSL protected endpoint. Keep in mind that you'll have to repeat this configuration on every environment (e.g. dev, test, prod).


    Best regards,
    Michael



    ------------------------------
    Michael Kirchner
    Leading Technical Specialist - Digital Business Automation
    IBM Technology
    Germany
    ------------------------------



  • 4.  RE: BAW v20 on Cloud: SSLHandshakeException

    Posted Fri August 20, 2021 03:17 PM
    Thank you! This has resolved the error.

    ------------------------------
    Ailin Cao
    Associate Application Developer
    IBM
    ------------------------------