技术文章 - CS335860
使用 ThingWorx 平台中的连接器连接 Windchill 时出现“PKIX 路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求目标的有效认证路径”
已修改: 22-Jul-2025
适用于
- 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
说明
- 将 Windchill 连接器连接到 ThingWorx 时出现
"PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" - GetEndpointList服务失败,并出现“
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”错误 - 应用程序日志中的错误:
<JavaException: com.thingworx.common.exceptions.InvalidRequestException: Unable to Invoke Service : No Integration Runtime Connected> - 由于证书无效错误,集成运行时服务未启动:
ERROR ctirIntegrationEngine - 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)
这是文章 335860 的 PDF 版本,可能已过期。最新版本 CS335860