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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

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

soumyabiswal
6-Contributor

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)

 

1 ACCEPTED SOLUTION

Accepted Solutions

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-certification-path-to-requ

 

Hope it helps,

Raluca Edu

View solution in original post

2 REPLIES 2

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-certification-path-to-requ

 

Hope it helps,

Raluca Edu

slangley
23-Emerald II
(To:raluca_edu)

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

Top Tags