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

1

Generate custom certificates

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
2

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:

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