I want to expose port 8888 on my AWS EC2 free-tier micro instance. Right now, my security group for the instance has this in bound protocol:
Custom TCP Rule TCP 8888 0.0.0.0/0 Jupyter Notebook
Once I set this up, if I go to the https://INSTANCE_PUBLIC_IP:8888/ I see a warning screen with
Your connection is not private
Attackers might be trying to steal your information from
INSTANCE_PUBLIC_IP (for example, passwords, messages, or credit cards).
Learn more
NET::ERR_CERT_AUTHORITY_INVALID
I click on advanced and then I can finally access the port. But my question is, how can I over come this so I don't ever see this screen (how do I get my SSL approved?). And I've also seen some folks expose a port (ex. 8888) and access it via http://INSTANCE_PUBLIC_IP:8888/ (note the http instead of https). How is this possible?