I am a little confused about what is going on here. I've tried to diagnose the situation with Google to no avail. I want to get this working as well as understand what is wrong. Basically I am trying to enable ssl on a remote ubuntu 11.10 apache server. I'm currently using the snakeoil certs just to get everything working and then I will switch to a trusted cert. Scanning 443 shows that it is open on the server.
When I ssh in and run this command
openssl s_client -connect localhost:443
everything looks fine. But when I run this command remotely
openssl s_client -connect www.mydomain.com:443
I get this error
CONNECTED(00000003) 10576:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:607:
The port is open and being forwarded correctly. What gives?