How to use letsencrypt certificates in Jupyter and IPython

jupyter-sq-textSo 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

Copy the generated certificates to a location your notebook server can access

2. generate a certificate for your domain, I love this one liner

3. On your iPython/Jupyter configuration file you’d need to add the following lines

Start your notebook server and voila.

Hope this is useful to you.

VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Clip to Evernote

2 thoughts on “How to use letsencrypt certificates in Jupyter and IPython

  1. I tried this but first got a permissions error since jupyter wasn’t able to access the /etc/letsencrypt directory. Once I got that sorted it would start but still gives me a browser warning that it’s an untrusted site. Does your browser address bar turn green with this or stay red?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • It should turn green, try moving the certificates to a folder the user running jupyter has access to

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *