2017-03-12 48 views
0

我们将teamcity 10作为公司网络后面的服务运行,我们需要将其配置为连接到代理,以便我们可以访问外部问题跟踪器(Jira)。Teamcity中的代理设置

当我们试图测试方面,我们得到

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/JIRAhttps://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

还有什么?还是更简单的方法?

感谢您阅读

+0

TEAMCITY_SERVER_OPTS应该得到空格分隔的settion,而不是“;” - 分隔 – Yaegor

回答

1

最大的可能是您的吉拉的HTTPS证书是自签名的,所以你需要通过adding贵单位到JVM密钥库中的根证书来配置的TeamCity服务器JVM的信任。