Reputation:
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.
Upvotes: 3
Views: 1394
Reputation: 1328292
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?
Upvotes: 1