3

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

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

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

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.

TigerhawkT3
  • 48,464
  • 6
  • 60
  • 97

1 Answers1

1

The command for importing a self-signed certificate:

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

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

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • /usr/lib/jvm/java-6-openjdk is the only jdk that is installed. –  Jan 24 '11 at 10:51
  • 1
    @Alan: yes but TeamCity can come with its own jre bundle within the product. Did you import the certificate into *that* `jre/lib/security/cacerts` file? – VonC Jan 24 '11 at 14:47
  • still the same issue and I don't see a jre under the TeamCity directory –  Jan 25 '11 at 00:58