User Tools

Site Tools


jupyter:start

Jupyter Notebooks

Installing, on Ubuntu 14.04

# python -V
Python 2.7.6
# pip -V
pip 19.1.1
# pip install jupyter 'tornado<=5.0' 'jsonschema<3.2.0'

Configuration

Configured to use TLS Client certificate to login, rather than password, and HTTPS.

# grep -vE '^#|^$' ~/.jupyter/jupyter_notebook_config.py
c.NotebookApp.allow_remote_access = True
c.NotebookApp.certfile = u'/tmp/pet_Jupyter_Notebook.pem'
c.NotebookApp.client_ca = u"/tmp/Robert_Meerman_CA2.crt"
c.NotebookApp.ip = '0.0.0.0'
c.NotebookApp.open_browser = False
c.NotebookApp.password_required = False
c.NotebookApp.token = ''  # Rely on client certificate auth

Creating Certificates, Private Keys, and a Certificate Authority

I used https://hohnstaedt.de/xca/ – X - Certificate and Key management

  • Create a Certificate Authority
  • Create a TLS Client certificate, with new private key, signed by new Certificate Authority
  • Export TLS Client certificate chain as PKS#12 (.p12) and double-click in Finder to import into KeyChain Access
jupyter/start.txt · Last modified: 2020/08/24 16:15 by robm