-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(self-managed/console): describe tls config (#4317)
* feat(self-managed/console): describe tls config * style(formatting): grammatical adjustments * update application config links to point to correct version * Restructure content --------- Co-authored-by: Christina Ausley <[email protected]> Co-authored-by: Cole Garbo <[email protected]>
- Loading branch information
1 parent
f8726b7
commit 16e5145
Showing
6 changed files
with
99 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
id: ssl | ||
title: "Console SSL configuration" | ||
sidebar_label: "SSL" | ||
description: "Read details on additional SSL configuration for Console." | ||
--- | ||
|
||
By default, communication between Console, Identity, and other components is not encrypted, as it usually occurs backend-to-backend within the same [Docker](/self-managed/setup/deploy/other/docker.md) network or [Kubernetes](/self-managed/setup/install.md) cluster. | ||
|
||
TLS-encrypted communication can be enabled by following the steps below (for example, if backend-to-backend communication is not possible in a custom Camunda 8 installation setup). | ||
|
||
## Configure Console for secure connections | ||
|
||
Console can be configured using [environment variables](/self-managed/console-deployment/configuration/configuration.md#environment-variables) to enable secure connections to both Console and Identity. | ||
|
||
### Configure the Identity base URL | ||
|
||
Set the base URL (starting with `https://`) of your Identity instance using the following properties: | ||
|
||
| Environment variable | Example value | | ||
| ---------------------------- | ------------------------------ | | ||
| `KEYCLOAK_BASE_URL` | `https://identity.example.com` | | ||
| `KEYCLOAK_INTERNAL_BASE_URL` | `https://identity.example.com` | | ||
|
||
### Configure SSL certificate | ||
|
||
Enable and configure SSL by setting the following properties: | ||
|
||
| Environment variable | Description | Example value | | ||
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ | | ||
| `SERVER_SSL_ENABLED` | To enable SSL, set to `true`. | `true` | | ||
| `SERVER_SSL_CERTIFICATE` | The path to a PEM-encoded SSL certificate file. Ensure the provided path is accessible from the container (for example, via a mounted volume). | `file:/full/path/to/certificate.pem` | | ||
| `SERVER_SSL_CERTIFICATE_PRIVATE_KEY` | The path to a PEM-encoded private key file for the SSL certificate. Ensure the provided path is accessible from the container (for example, via a mounted volume). | `file:/full/path/to/key.pem` | | ||
| `SERVER_SSL_PASSPHRASE` | _Optional_ A passphrase for the private key. | `passphrase` | | ||
|
||
SSL can be configured separately for the management routes using the `MANAGEMENT_` properties: | ||
|
||
| Environment variable | Description | Example value | | ||
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ | | ||
| `MANAGEMENT_SERVER_SSL_ENABLED` | To enable SSL, set to `true`. | `true` | | ||
| `MANAGEMENT_SERVER_SSL_CERTIFICATE` | The path to a PEM-encoded SSL certificate file. Ensure the provided path is accessible from the container (for example, via a mounted volume). | `file:/full/path/to/certificate.pem` | | ||
| `MANAGEMENT_SERVER_SSL_CERTIFICATE_PRIVATE_KEY` | The path to a PEM-encoded private key file for the SSL certificate. Ensure the provided path is accessible from the container (for example, via a mounted volume). | `file:/full/path/to/key.pem` | | ||
| `MANAGEMENT_SERVER_SSL_PASSPHRASE` | _Optional_ A passphrase for the private key. | `passphrase` | | ||
|
||
## (Optional) Provide a custom certificate | ||
|
||
If you are using a custom (self-signed) TLS certificate in Console or Identity, configure Console to accept the certificate. | ||
|
||
Provide the path to the certificate file via the environment variable `NODE_EXTRA_CA_CERTS`: | ||
|
||
| Environment variable | Description | Example value | | ||
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- | | ||
| `NODE_EXTRA_CA_CERTS` | The path to your self-signed TLS certificate. Ensure the provided path is accessible from the container (for example, via a mounted volume). | `/path/to/certificate.crt` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.