SSL Key Ownership

After receiving renewal notice from Let’s Encrypt for Jupyter server, go to the virtual machine hosting Jupyter and renew the key successfully. But cannot login to the jupyter notebook from https.


    1. Remove the symbolic link of privkey.pem under
    2. recreate the symbolic link with the dedicated user running Jupyter notebook.
    3. Run command as root:
      systemctl restart jupyterhub


      • As the jupyter server is run by the ownership of a dedicated user, after the renewal, the private key, i.e. privkey.pem must be owned by this user. However, I run the command:
        certbot renew --standalone

        under root.

      • note that let’s encrypt command for CentOS 6 is quite different from CentOS7


    • OS: CentOS 7
    • Jupyter-notebook: 5.7.8

Leave a Reply