HTTPS Not Available On Vultr VM



  • I've been trying to figure out why I can get a simple website run over https. I've confirmed that port 80 works as expected (the test html page displays in the browser using the IP address of the Ubuntu 16.04 server) but when I try to connect via https, no good. I get a "the site can't be reached and XXX.XXX.XXX.XXX unexpectedly closed the connection".

    I've checked the firewall rules and I get this...

    sudo ufw status verbose
    

    0_1471980457087_upload-7dff5544-d271-4753-813c-7437141db48e

    sudo nmap -v -sT localhost
    

    0_1471980388322_upload-987b43fa-b1c7-40ff-b1a9-09f958999dce

    I've temporarily installed Webmin to help me try to make sense of what was happening hence the 10000 port.

    So the firewall shows all correct ports but nmap does not.

    I'm sure I've missed something ridiculously simple and hopefully someone here can spot what I've missed.



  • Looks like you have nothing running for HTTPS. No HTTPS server is there.

    What is the output of...

    netstat -tulpn | grep 443


  • Basically yes the HTTPS port is open. But nothing has been configured to server things out on that port. What are you expecting to see there?



  • @scottalanmiller

    Thanks Scott. That jogged my memory to enable ssl module. That was what I missed.


Log in to reply