llms.txt: machine-readable documentation index. Markdown version of this page is also available.

YouTrack Server 2026.3 Help

Configure TLS from the Command Line

Built-in TLS secures the public listener with TLS 1.2 and TLS 1.3. YouTrack reads its certificate and private key only at startup. Client-certificate authentication is not supported.

Switching to HTTPS Mode

Certificate and Key Requirements

  • conf/tls/tls.crt: a PEM certificate chain, with the server certificate first, followed by any intermediate certificates.

  • conf/tls/tls.key: the matching, unencrypted PKCS#8 PEM private key. Use RSA with at least 2048 bits, or EC.

If either file is missing, malformed, or incompatible with the other, startup fails. Restrict access to the private key to the account that runs the container. For production, use a certificate from a trusted Certificate Authority with host names matching the base URL.

To enable built-in HTTPS:

  1. Stop the container if it is running.

  2. Place both files in the tls subdirectory of the host directory mapped to the container's conf directory. See TLS Server Certificates and Keystores.

  3. Set the base URL to the public HTTPS address. Check the listener port: without an explicit override, TLS uses container port 8443. A listener port preserved during an upgrade or an explicit jetbrains.youtrack.port remains in effect.

  4. Recreate the container with the same mounts and environment settings, updating port mappings as needed. For the default TLS port, publish HTTPS with -p 443:8443.

Using an Existing Keystore

For a new TLS configuration, export the certificate chain and matching private key from your keystore to the PEM files described above. The server does not read a JKS or PKCS#12 keystore directly. When upgrading from a version earlier than 2026.3, YouTrack automatically imports the existing server certificate and private key.

Replace a Certificate

Stop the container, replace both conf/tls/tls.crt and conf/tls/tls.key, and start the container again. Replacing files without a restart has no effect.

HTTP Redirects

With built-in TLS enabled, one public listener serves HTTPS and accepts plaintext HTTP for redirection on the same port. HTTP GET and HEAD requests receive 307 Temporary Redirect. Other HTTP methods receive 400; API clients must use HTTPS directly.

To redirect host port 80, map it to the HTTPS container port too, for example -p 443:8443 -p 80:8443. There is no separate redirect listener. Use the actual preserved port for a migrated installation.

Switching to HTTP Mode

To disable built-in TLS:

  1. Stop the container.

  2. Move both TLS files out of conf/tls to a secure location.

  3. Review the base URL, listener override, and port mappings. Without TLS or an override, the container listens on 8080. When a reverse proxy terminates TLS, keep the public HTTPS base URL and forward proxy traffic to the HTTP listener.

  4. Start or recreate the container with the updated deployment settings. See Reverse Proxy Configuration.

19 November 2026