> ## Documentation Index
> Fetch the complete documentation index at: https://developer.copper.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Enabling SSL/TLS

To enable SSL/TLS support, add a volume containing your key and certificate to the Copper Unlimited Online container:

<Steps>
  <Step title="Generate custom certificates">
    ```bash theme={"system"}
    openssl genrsa -out privatekey.key
    openssl req -new -key privatekey.key -out csr.pem
    openssl x509 -req -days 9999 -in csr.pem -signkey privatekey.key -out certificate.cert
    ```
  </Step>

  <Step title="Add the path">
    Add the path to the folder containing certificates as volumes: `-v ${PWD}/ssl/certificate.cert:/app/ssl/certificate.cert`,
    as well as `-v ${PWD}/ssl/privatekey.key:/app/ssl/privatekey.key`:

    ```bash theme={"system"}
    docker run --rm -ti \
      -v ${PWD}/key-backups/:/app/keys/ \
      -e APP_ENVIRONMENT='testnet' \
      -v ${PWD}/ssl/certificate.cert:/app/ssl/certificate.cert \
      -v ${PWD}/ssl/privatekey.key:/app/ssl/privatekey.key \
      -p 3010:3010 \
      copperexchange/copper-unlimited:latest
    ```
  </Step>
</Steps>
