TeamCity On-Premises
 
2024.12
Get TeamCity On-Premises

Using HTTPS to access TeamCity server

Edit pageLast modified: 25 October 2024

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. You can do it using the TeamCity HTTPS settings or 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.