Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to consume "https://localhost:8899/carconfigservice/dev" service of "Get" type. As its Https i tried to set trust store variables as follows. I tried to browse same service with browser its returning expected result.
System.setProperty("javax.net.ssl.trustStore", "C:/keystore/keystore.p12");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
Still i am facing the below problem.
[WARN ]: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {https://localhost:8899/carconfigservice/dev}tRESTClient has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)at org.apache.cxf.jaxrs.c
Hello,
From your screenshot, there is no connector between tjava and trestclient. Have you tried to use tprejob-->tjava-->oncomponentok-->trestclient?
Usually, we use tSetKeystore to load the cert before you connect to REST using tRESTClient for https end point.
The workflow looks like: tsetkeystore(add certificates in local java keystore)-->onsubjobok-->trestclient
Best regards
Sabrina