Enabling and configuring SSL
Enabling SSL
By default, the Anaconda Team Edition installation does not require the use of SSL/TLS. To enable SSL/TLS after installation, the following steps must be taken:
-
Edit
docker-compose.yml
-
Near the top of the file, uncomment the following lines:
-
Further down in the file, under the
keycloak
key, uncomment this line:
-
-
Edit
.env
file- Change
DOMAIN
to new FQDN, if applicable. - Change
NGINX_PROXY_PORT
to443
. - Change
PROTOCOL
tohttps
- Change
-
Edit
/opt/anaconda/repo/config/nginx/conf.d/repo.conf
-
Near the top of the file, change
listen 8080;
tolisten 8080 ssl;
. -
Add the following lines after the
listen 8080 ssl;
line:
-
-
Add your certificate and private key, named
tls.crt
andtls.key
, to the following directory: -
Run the following command from the directory containing
docker-compose.yml
to apply the changes:
Configuring SSL
The following steps will allow you to configure the SSL:
-
Add or remove the following lines relating to the SSL in
<BASE_INSTALL_DIR>/config/nginx/conf.d/repo.conf
, where<BASE_INSTALL_DIR>
is the installation directory: -
Add or remove certificates from the following directory:
-
Run the following command:
Refer to nginx’s documentation for the standard SSL configuration procedure.
Was this page helpful?