Hi again.
You basically have to define a trust store, add the missing key, give it a password then inform your node or server about this information. Then you need to restart node or server.
Original Message:
Sent: Tue June 06, 2023 08:52 AM
From: Caique Dutra Santos
Subject: SSL socket operation. APP Connect Enterprise Toolkit
Hi Lars, thanks for answering !!
1-) I'm using IBM App Connect Enterprise Toolkit version: 12.0.8.0
2 -) How can I set up truststore on ACE Toolkit?
I changed the protocol to "SSL" and got the following error:
occurred. The HTTP Request-Line was: 'POST /auth/realms/zsecuritycompliance/protocol/openid-connect/token HTTP/1.1\nBIP3152S: Socket error detected whilst invoking Web service located at host keycloak-ibmz-scc-demo.apps.zsccocp4.pok.stglabs.ibm.com, port 443, path /auth/realms/zsecuritycompliance/protocol/openid-connect/token. \nBIP3165S: An error occurred whilst performing an SSL socket operation. Operation: connect. Error Text: 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. "}}. Check the Error Log or check the .metadata/.log file in your workspace for details of the error which can be passed to IBM Support.
------------------------------
Caique Dutra Santos
Original Message:
Sent: Tue June 06, 2023 01:21 AM
From: Lars Dehli
Subject: SSL socket operation. APP Connect Enterprise Toolkit
Hi Caique.
It seems to be the call to KEYCLOAKHOSTNAME.COM at port 443 that fails. Have you set up trust store for this call? Which version of ACE are you using?
From the error it seems it is trying to use TLSv1.3:
'setSSLOptions'. Error Text: 'java.security.NoSuchAlgorithmException: TLSv1.3 SSLContext not available'
Thanks,
Lars
------------------------------
Lars Dehli
Original Message:
Sent: Mon June 05, 2023 12:06 PM
From: Caique Dutra Santos
Subject: SSL socket operation. APP Connect Enterprise Toolkit
I'm trying to call an keycloak API wuch should return an access token through IBM App Connect Toolkit locally... I'm using the following flow: Http Input Node -> Http Request Node -> Http Reply node. IBM App Connect should not verify SSL certificate to call this API... but when I Try to record it and run the flow I get the following error message:
HTTP request for "
http://localhost:7800/api
" returned HTTP status code 500.Error Response: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/
" xmlns:xsd="
http://www.w3.org/2001/XMLSchema
" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>BIP3113E: Exception detected in message flow HTTPInputMessageFlow (integration node integration_server) </faultstring><faultactor>
http://localhost:7800/api
</faultactor><detail> <text>Exception. BIP2230E: Error detected whilst processing a message in node 'HTTPInputMessageFlow.HTTP Request'. : /jenkins/slot0/product-build/WMB/src/WebServices/WSLibrary/ImbWSRequestNode.cpp: 806: ImbWSRequestNode::evaluate: ComIbmWSRequestNode: HTTPInputMessageFlow#FCMComposite_1_9BIP3162S: An HTTP error occurred. The HTTP Request-Line was: ''POST KEYCLOAKPATH HTTP/1.1: /jenkins/slot0/product-build/WMB/src/WebServices/WSLibrary/ImbWSRequestNode.cpp: 718: ImbWSRequestNode::evaluate: : BIP3152S: Socket error detected whilst invoking Web service located at host 'KEYCLOAKHOSTNAME.com', port 443, path '/auth/realms/zsecuritycompliance/protocol/openid-connect/token'. : /jenkins/slot0/product-build/WMB/src/WebServices/WSBase/ImbWSRequest.cpp: 678: Imb::WSRequest::makeWSRequest: : BIP3165S: An error occurred whilst performing an SSL socket operation. Operation: 'setSSLOptions'. Error Text: 'java.security.NoSuchAlgorithmException: TLSv1.3 SSLContext not available'. : /jenkins/slot0/product-build/WMB/src/WebServices/WSBase/Socket.cpp: 1266: Imb::SocketJNIManager::handleGeneralJavaException: : </text> </detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>. Check the Error Log or check the .metadata/.log file in your workspace for details of the error which can be passed to IBM Support.
------------------------------
Caique Dutra Santos
------------------------------