Article - CS335860

"PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" seen when connecting Windchill using Connectors in ThingWorx Platform

Modified: 22-Jul-2025   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 1.0 to 9.4
  • ThingWorx Platform 3.2 to 9.5
  • PTC Requirements Connector (formerly Integrity Requirements Connector) 3.4 to 4.2

Description

  • "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" found when connecting Windchill Connectors to ThingWorx
  • GetEndpointList service fails with "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" error
  • Error in Application logs:
    <JavaException: com.thingworx.common.exceptions.InvalidRequestException: Unable to Invoke Service : No Integration Runtime Connected>
  • Integration Runtime service not starting due to invalid certificate error: 
    ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown : Your route exchange has failed.  Resource Error [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 [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:112)
            at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:201)
            at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.base/java.lang.reflect.Method.invoke(Method.java:566)
            at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:230)
            at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1126)
            at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1034)
            at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:315)
            at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55)
            at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
            at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
            at java.base/java.lang.Thread.run(Thread.java:829)
This is a printer-friendly version of Article 335860 and may be out of date. For the latest version click CS335860