Use the appliance configuration script to install a customer-signed certificate. Keep the certificate and key in `/etc/pki/tls/certs/custom` so that the upgrade process backs them up.

## Configure the certificate files

Edit `/usr/bin/certs/certs.conf`. Set the filenames to match your client key, client certificate, and trusted root certificate.

```shell
CERTS_input_file_location=/etc/pki/tls/certs/custom
client_KEY_file=customer.key
client_CRT_file=customer.crt
CA_auth_file=TrustedRoot.crt
http_deployment=api-gateway
```

The script accepts other input directories, but files outside the custom certificate directory are excluded from the upgrade backup. Keep `http_deployment` set to `api-gateway` for this deployment.

## Apply and verify the certificate

Run the configuration script:

```shell
/usr/bin/certs/add-https-certs.sh --add
```

The script displays progress. To see the available actions, run it without arguments. Use `-h` or `--help` for configuration details and `-a` or `--add` to install the certificates.

After the script succeeds, open `https://<appliance-address>:31443` and inspect the certificate presented by the appliance.
