技术文章 - CS315743

尝试在 ThingWorx 平台上注册或使用 Solution Central 功能时,会看到“PKIX 路径构建失败”的错误信息。

已修改: 10-Dec-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 8.5 to 10.0
  • ThingWorx Solution Central 8.5

说明

  • 在 Solution Central 上注册 ThingWorx 实例失败,错误信息为: PKIX path building failed
  • 无法将 ThingWorx 平台注册到 Solution Central。
  • 尝试在 ThingWorx Composer 的“管理”下访问“部署请求”“您的解决方案”“PTC 解决方案”选项时,返回PKIX path building failed错误。
  • 无法访问 Composer 中“管理 > 解决方案中心”部分下的任何选项。
  • 尝试将 Solution Central 的功能与 Composer 结合使用,但现在加载失败。
    • Solution Central 之前运行正常。
  • Composer 中出现错误,无法在 Solution Central 上注册 ThingWorx 实例:
     Unable to execute service RegisterOrUpdateInstance on SolutionCentralSubsystem : Interaction with Solution Central failed, check logs for details. 
用户添加的图片
  • 以下消息记录在<ThingworxStorage>\logs目录中。
    • 应用程序日志.log
       [L: ERROR] [O: ctsssSolutionCentralSubsystem] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-8080-exec-5] Failed to execute HTTP POST on https://sc.thingworx.com/api/register, Reason : PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [L: ERROR] [O: ctsssSolutionCentralSubsystem] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-8080-exec-5] Setting isEnabled to false due to exception encountered while trying to register with SolutionCentral : Interaction with Solution Central failed, check logs for details. [L: ERROR] [O: ctwSubsystems] [I: ] [U: Administrator] [S: ] [P: ] [T: http-nio-8080-exec-5] Unable to Invoke Service RegisterOrUpdateInstance on SolutionCentralSubsystem : Interaction with Solution Central failed, check logs for details.
    • ErrorLog.log
       [L: ERROR] [O: EcqlcLogger] [I: ] [U: wcadmin] [S: ] [P: ] [T: https-openssl-nio-8443-exec-5] Failed to execute HTTP POST on https://sc.thingworx.com/api/register, Reason : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [L: ERROR] [O: EcqlcLogger] [I: ] [U: wcadmin] [S: ] [P: ] [T: https-openssl-nio-8443-exec-5] Got exception while executing RegisterOrUpdateInstance service : Interaction with Solution Central failed, check logs for details. [L: ERROR] [O: EcqlcLogger] [I: ] [U: wcadmin] [S: ] [P: ] [T: https-openssl-nio-8443-exec-5] java.lang.Exception: Interaction with Solution Central failed, check logs for details.__ at com.thingworx.system.subsystems.solutioncentral.SolutionCentralSubsystem.makeSolutionCentralApiCall(SolutionCentralSubsystem.java:199)__ at com.thingworx.system.subsystems.solutioncentral.SolutionCentralSubsystem.registerInstance(SolutionCentralSubsystem.java:728)__ at com.thingworx.system.subsystems.solutioncentral.SolutionCentralSubsystem.RegisterOrUpdateInstance(SolutionCentralSubsystem.java:453)__ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)__
这是文章 315743 的 PDF 版本,可能已过期。最新版本 CS315743