cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

getting error (PKIX path building failed) on integration connector with integrity(ILM)?

Highlighted
Regular Member

getting error (PKIX path building failed) on integration connector with integrity(ILM)?

I am using thingworx 8.5 and integrity 12.2.1, which two servers configured with SSL.

through Integration Runtime i am trying to connect integrity

 

irserviceconnector.JPG

Spoiler
2020-14-01 12:32:12.362 [ClientProcessor-3] ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown :
Your route exchange has failed. Resource Error [sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
java.lang.RuntimeException: Your route exchange has failed. Resource Error [sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
at com.twx.integration.route.exceptions.ExceptionHelper.convertToRuntimeException(ExceptionHelper.java:77)
at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:159)
at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261)
at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1120)
at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1028)
at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:315)
at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

 

2 REPLIES 2

Re: getting error (PKIX path building failed) on integration connector with integrity(ILM)?

Hi,

 

Please follow steps as you need Integrity cert as trusted:

  • Check external server certificate (Integrity) is already in the  TWX keystore by running the following command:
keytool -list -keystore $JAVA_HOME/jre/lib/security/cacerts
  • If certificate is missing add it to Java keystore with the following command:
keytool -import -noprompt -trustcacerts -alias <AliasName> -file   <certificate> -keystore $JAVA_HOME\lib\security\cacerts -storepass <Password>

You can take a look also here: https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-cert...

 

Hope it helps,

Raluca Edu

Re: getting error (PKIX path building failed) on integration connector with integrity(ILM)?

Hi @soumyabiswal.

 

If the response provided by @raluca_edu answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________