You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Application Insights Java Agent需向信任库添加哪些证书?

Azure Application Insights Agent 启动Spring Boot应用偶发SSL证书报错

搭配Azure Application Insights Agent启动Spring Boot应用时,偶发如下报错:

*************************
ApplicationInsights Java Agent failed to send telemetry data.
*************************
 
Description:
Unable to find valid certification path to requested target.
 
Action:
Please import the SSL certificate from https://westeurope.livediagnostics.monitor.azure.com/QuickPulseService.svc, into your custom java key store located at:
/truststore/truststore.jks
Learn more about importing the certificate here: https://go.microsoft.com/fwlink/?linkid=2151450

已知信息

  • 报错触发无固定规律,部分场景下应用可正常运行,初步判断为不同Azure服务节点使用的证书链(含根CA证书)存在差异
  • 当前使用的自定义Java信任库路径为/truststore/truststore.jks,已导入证书清单:
    • Baltimore CyberTrust Root
    • Microsoft RSA TLS CA 02
    • live.applicationinsights.azure.com 对应证书
    • in.applicationinsights.azure.com 对应证书
  • 已查阅Azure官方发布的全量Azure证书清单,尝试导入清单内所有根证书后,仍会出现相同报错,但此时可观测到监控数据已正常上报至Application Insights

待解决问题

需确认应将官方证书清单内的哪些证书添加到信任库,才能永久消除该报错。

内容的提问来源于stack exchange,提问作者meva

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.26 18:27:34