TeamCity On-Premises
 
You are viewing the documentation for an earlier version of TeamCity On-Premises.

Using HTTPS to access TeamCity server

Last modified: 03 March 2021

This document describes how to configure Java applications to use HTTPS for communicating with the server.
If you need to connect the TeamCity server to a service behind a self-signed certificate (for example, Git) or if you need to connect a TeamCity agent to the TeamCity server using the self-signed certificate, use trusted certificates configuration.

We assume that you have already configured HTTPS in your TeamCity web server. The most common and recommended approach for this is to set up a reverse proxy server like Nginx or Apache that provides HTTPS access for HTTP-only TeamCity server's Tomcat port. In the setup, make sure that the reverse proxy has correct configuration as per Set Up TeamCity behind a Proxy Server section.