Documentation Center

Post Installation Configuration

Language Weaver Edge also provides some options allowing you to change the TLS options for an existing Edge cluster.

About this task

Edge provides a convenient REST API allowing you to:

Procedure

  1. Enable or disable TLS.
  2. Set the path to an existing public key certificate. The file must already exist on the file system of the controller host.
  3. Set the path to the private key. The file must already exist on the file system of the controller host.
  4. Set the password that the private key is currently encrypted with, if any.

Example

The above options are exposed in the /api/v2/system/tls REST API endpoint. A sample curl command to set them is shown below:
curl "https://controller-host:8001/api/v2/system/tls" \
    -X PUT \
    -u u_jsmith@example.com_u0VmztKJrwqf: \
    -d enabled="true" \
    --data-urlencode privateKeyPassword="foobar" \
    --data-urlencode privateKeyPath="/opt/sdl/ets/auth/tls/default/key-new.pem"