Enabling SSL for Jupyter Notebook

You can use SSL to secure your Jupyter Notebook server.

These instructions apply only to Jupyter Notebooks for Team Studio installation versions 6.3.x or earlier.

Prerequisites

You must have administrative privileges on the server.

Procedure

  1. Stop the Jupyter Notebook server.
  2. Open the settings.cfg file for your Jupyter Notebook server.
  3. Add the SSL certificate and keyfile to the Jupyter Notebook server.
  4. Reference the SSL certificate and keyfile in the settings.cfg file, using quotes for the file path.

CERTFILE="/usr/local/chorus/shared/server.crt"
KEYFILE="/usr/local/chorus/shared/server.key"

  1. Restart the Jupyter Notebook server. If the SSL setup is successful, you should see the following line in the Jupyter Notebook.log. Note the https://.

    * Running on https://0.0.0.0:8000/ (Press CTRL+C to quit)