TRIRIGA

 View Only
  • 1.  Accessing external APIs using Custom Class Loader

    Posted 2 days ago

    Greetings, I'm trying to connect to an API using Custom Class Loader. At each attempt to contact the API, we get an IOException:

    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


    I had IBM CDS install the root certificate of the target URL, but we still get this exception. Any ideas?



    ------------------------------
    Emerson David
    ------------------------------


  • 2.  RE: Accessing external APIs using Custom Class Loader

    Posted 2 days ago

    Hello again Emerson - 

    This looks like a classic Cert Not found error. Below are few things to verify - 

    1. Ensure the cert is correct and added to the correct trusted store
    2. Were there any errors when the cert was imported? 
    3. If your environment have multiple servers, the cert needs to be added to all the servers
    4. I am sure you would have done it but if not already, the app server(s) need to be restarted after the cert import


    ------------------------------
    Edwin Premkumar David
    ------------------------------