Use a custom certificate

You can use custom SSL certificates with Sandbox. If you set "secure": true in the Sandbox client configuration file, the client will automatically generate a self-signed certificate.

Alternatively, you could generate a self-signed certificate with this command:

openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout example.key -out example.crt -subj "/" -days 3650

Follow these steps to use a custom SSL certificate with your Sandbox.

  1. Open your config.json file.

  2. Modify the file to include the certChainPath and keyPath for your certificate.

    "sandboxServerInfo": {
     "secure": true,
     "port": 9550,
     "host": "",
     "cert": {
       "certChainPath": "/Users/asmith/Desktop/cert/example.crt",
       "keyPath": "/Users/asmith/Desktop/cert/example.key"

Did this page help you?