0%

config ssl to jupyter lab.

  1. Put xxx.key and xxx.pem into your website.

  2. copy the following code to .jupyter/jupyter_config.py

1
2
c.NotebookApp.certfile = u'path_to_public.crt'
c.NotebookApp.keyfile = u'path_to.key'

Don’t forget your path where xxx.key and xxx.pem file.

Generally, i put xxx.key and xxx.pem in /etc/nginx/cert/ (to create your own cert file first)

  1. reboot your jupyter lab.

Done.