Jupyter on EC2: SSL Error

前端 未结 5 1412
无人共我
无人共我 2021-01-03 06:45

I\'m trying to serve a Jupyter notebook from EC2 but I\'m getting an SSL error. I\'m using this AMI: TensorFlow GPU - @nottombrown (ami-8ed4d0e4). I used a self

5条回答
  •  既然无缘
    2021-01-03 07:37

    I found out that the permission issue is occurring because the mycert.pem file has only root permissions

    drwxrwxr-x 2 ubuntu ubuntu 4096 Mar 20 12:22 .
    drwxr-xr-x 9 ubuntu ubuntu 4096 Mar 20 12:09 ..
    -rw------- 1 root   root   2949 Mar 20 12:22 mycert.pem
    

    I could not run jupyter notebook as root therefore i chowned the permissions

    sudo chown ubuntu:ubuntu mycert.pem
    

    this solved the issue

提交回复
热议问题