So I got into the letsencrypt-everything-train using letsencrypt. It’s really nice being able to add SSL to all my private and public domains, gives me the illusion of security, anyway, you are most likely here to know how to add your letsencrypt certificates to your iPython or Jupyter setup.
If you already have your letsencrypt certificate skip to step 3.
1. Clone letsencrypt from github
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt sudo cd /opt/letsencrypt
Copy the generated certificates to a location your notebook server can access
2. generate a certificate for your domain, I love this one liner
./letsencrypt-auto certonly --standalone --email hi@perrohunter.com -d a.4ph.in
3. On your iPython/Jupyter configuration file you’d need to add the following lines
c.NotebookApp.certfile = u'/your/cert/path/cert.pem' c.NotebookApp.keyfile = u'/your/cert/path/privkey.pem'
Start your notebook server and voila.
Hope this is useful to you.