Using HTTPS to access TeamCity server

Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 3.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Documentation Index

Using HTTPS to access TeamCity server 

This document describes how to configure various TeamCity server clients to use HTTPS for communicating with the server. We assume that you have already configured HTTPS in your web server. See how to do this for Tomcat here: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html.

If your certificate is valid (i.e. it was signed by a well known Certificate Authority like Verisign), then TeamCity clients should work with HTTPS without any additional configuration. All you have to do is to use https:// links to the TeamCity server instead of http://.

If your certificate is not valid:

  • To enable HTTPS connections from TeamCity Visual Studio plugin and Tray notifier, point your Internet Explorer to the TeamCity server using https:// URL and import the server certificate into the browser. After that Visual Studio plugin and Tray notifier should be able to connect by HTTPS.
  • To enable HTTPS connections from Java clients, save server certificate to a file, and then import it into the corresponding Java keystore using keytool program. By default, Java keystore is protected by password: changeit
  • For Build Agent import certificate, use the following command:
     
  • For IntelliJ IDEA plugin:
     
  • For Eclipse plugin:
     
Note: -importcert option is only available starting from Java 1.6. Please use keytool from Java 1.6 to perform these commands.

Labels:

admin admin Delete
server server Delete
https https Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.