TeamCity和JIRA通过HTTPS [英] TeamCity and JIRA over HTTPS

查看:190
本文介绍了TeamCity和JIRA通过HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我让JIRA和TeamCity在两个可通过HTTPS和自签名证书访问的服务器上运行。

I have JIRA and TeamCity running on two separate servers both accessible via HTTPS and self signed certificates.

我现在想将JIRA整合为TeamCity的问题跟踪器。

I would now like to integrate JIRA as TeamCity's issue tracker.

但是,当我尝试从TeamCity设置连接时,我得到 CertificateException

However, when I try and setup the connection from TeamCity I get a CertificateException.

TeamCity在Ubuntu 101.10机器上,我试图将证书从JIRA服务器导入 / usr / lib / jvm / java-6 -openjdk / jre / lib / security / 但这没什么区别。

TeamCity is on a Ubuntu 101.10 machine and I tried to import the certificate from the JIRA server into /usr/lib/jvm/java-6-openjdk/jre/lib/security/ but this made no difference.

推荐答案

导入自签名证书

keytool -import -alias joe -file server.crt -keystore C:/jdk1.5.0_06/jre/lib/security/cacerts -storepass changeit

所以如果这不起作用,你确定这个jdk实际上是由TeamCity使用的吗?

So if that doesn't work, are you sure this jdk is actually used by TeamCity?

这篇关于TeamCity和JIRA通过HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆