Teamcity 中的代理设置
Proxy Setting in Teamcity
我们有 teamcity 10 运行 作为公司网络背后的一项服务,我们需要将其配置为连接到代理,以便我们可以访问外部问题跟踪器 (Jira)。
当我们尝试测试连接时,我们得到
Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我假设这是因为代理设置不正确?其他链接似乎表明它是 Jira Cloud 的证书问题?基于此 https://confluence.jetbrains.com/display/TCD7/JIRA and https://developer.atlassian.com/jiradev/latest-updates/soap-and-xml-rpc-api-deprecation-notice 的替代理论表明 xml-rpc 是集成所必需的,但已弃用?
我们添加了
TEAMCITY_SERVER_OPTS in environment settings with the following
-Dproxyset=true;-Dhttp.proxyHost=xxx;-Dhttp.proxyPort=xxx
还有什么事吗?或者更简单的方法?
感谢阅读
您的 Jira 的 HTTPS 证书很可能是自签名的,因此您需要通过 adding 将您组织的根证书配置为受信任的 JVM 密钥库来配置 TeamCity 服务器 JVM。
我们有 teamcity 10 运行 作为公司网络背后的一项服务,我们需要将其配置为连接到代理,以便我们可以访问外部问题跟踪器 (Jira)。
当我们尝试测试连接时,我们得到
Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我假设这是因为代理设置不正确?其他链接似乎表明它是 Jira Cloud 的证书问题?基于此 https://confluence.jetbrains.com/display/TCD7/JIRA and https://developer.atlassian.com/jiradev/latest-updates/soap-and-xml-rpc-api-deprecation-notice 的替代理论表明 xml-rpc 是集成所必需的,但已弃用?
我们添加了
TEAMCITY_SERVER_OPTS in environment settings with the following -Dproxyset=true;-Dhttp.proxyHost=xxx;-Dhttp.proxyPort=xxx
还有什么事吗?或者更简单的方法?
感谢阅读
您的 Jira 的 HTTPS 证书很可能是自签名的,因此您需要通过 adding 将您组织的根证书配置为受信任的 JVM 密钥库来配置 TeamCity 服务器 JVM。