Jupyter on EC2: SSL Error

前端 未结 5 1418
无人共我
无人共我 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:36

    This error comes because to two reasons:

    1. Certificate Issue
    $ mkdir certs
    $ cd certs
    $ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mycert.pem -out mycert.pem
    
    1. Wrong http(s) call.

      • https://ec2-ip:8888 | use https

      • To get ec2-ip curl http://checkip.amazonaws.com

提交回复
热议问题