I expect I have a config problem here but I can't find it:
Connecting to my SSL (own certificate - not commercial) site
allows pages to be served in plain text when telnet is used.
Connecting using a browsers performs correctly.
EG:
http://example.com - fails correctly
https://example.com - works correct
http://example.com:80 - fails correct
https://example.com:443 - works correct
So far so good but using telnet:
[root@localhost ~]# telnet
telnet> open example.com 443
Trying 1.1.1.2...
Connected to example.com.
Escape character is '^]'.
GET /
Connection closed by foreign host.
OK that's good.
THIS IS THE ISSUE
[root@localhost ~]# telnet
telnet> open example.com 80 <-----------port 80
Trying 1.1.1.2...
Connected to example.com.
Escape character is '^]'.
GET /
Returns plain text HTML of the page
This should not work.
What I don't understand is why a browser functions correctly
but telnet does not - and what config I need to look at?
I've probably missed something by staring at it too long
can anyone see my issue?
TIA