I have been trying to solve my issue for two days now. I have an ec2 instance (AMI) that is hosting a docker container that works well in http (http connection to my server). I have followed this tutorial for setting up the https (SSL/TLS) connection: set-up let's encrypt on my ec2 instance on my ec2 instance via let's encrypt (free SSL certificate). It seems to work because when I connect to http://conv.carbonfreeconf.com/ then it goes to https://conv.carbonfreeconf.com/ automatically (which is the desired behavior). However, when I try to connect to the container via the 7000 port in https (https://conv.carbonfreeconf.com:7000), it says: ERR_SSL_PROTOCOL_ERROR but it works via http.
Do you know why it does work via the normal URL but not once I connect to a specific port?
Any help is strongly appreciated...