Announcement

Collapse
No announcement yet.

HTTPS Port 443

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HTTPS Port 443

    I am trying to get a secure https connection to my hub at home.

    The /etc/services has port 443 udp & tcp both turned on

    When I tried to connect remotely using https, there is a reset flag sent back:

    ===================================================
    @HomeTrollerZEE:~# tcpdump -i eth0 'tcp port 443'
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
    11:30:11.166673 IP <Foreigh IP>.net.44678 > 192.168.0.205.https: Flags [S], seq 897153989, win 5840, options [mss 1380,sackOK,TS val 2740552270 ecr 0,nop,wscale 6], length 0

    11:30:11.166978 IP 192.168.0.205.https ><Foreigh IP>.net.44678: Flags [R.], seq 0, ack 897153990, win 0, length 0
    ====================================================

    I believe there must be some web service configuration for this.

    Please post details on how to get it working. Thanks.

    Regards,
    a.

    #2
    Yes, I also wish I could use HTTPS with my Zee.

    Comment


      #3
      Well, I managed to get half the job done then I ran into a different problem. Maybe somebody could save us time and hit the target.

      Solution:

      Go to http://redmine.lighttpd.net/projects...HowToSimpleSSL and follow the easy steps to get ssl support. With the difference that homeseer has the lighthttpd config file under /.config/.mono instead of the path in the post
      ======================================
      $SERVER["socket"] == ":443" {
      ssl.engine = "enable"
      #ssl.pemfile = "/etc/lighttpd/certs/lighttpd.pem"
      ssl.pemfile = "/root/.config/.mono/certs/lighttpd.pem"
      ======================================

      Then restart service:
      # /usr/sbin/lighttpd restart

      The problem is: once I login through port 443/https, I get redirected to the recovery page (also called 911).

      There must be some mix up between ports. Whoever configured the system assigned both ports
      443, and 911 to lighthttpd while port 80 runs under mono.

      tcp 0 0 *:10401 *:* LISTEN 2295/mono
      tcp 0 0 *:16683 *:* LISTEN 2295/mono
      tcp 0 0 *:911 *:* LISTEN 9147/lighttpd

      tcp 0 0 *:https *:* LISTEN 9147/lighttpd

      tcp 0 0 *:http *:* LISTEN 2295/mono
      tcp 0 0 *:ssh *:* LISTEN 2357/sshd
      tcp 0 0 *:10200 *:* LISTEN 2295/mono
      tcp 0 0 *:smtp *:* LISTEN 2215/master

      I still can get through port 80 with no problems. Only port 443 gets me to recovery page.

      Can anyone please advise how to untangle these ports and get https access working. Thanks

      Comment


        #4
        Hm, would you map https to mono as well?

        Comment


          #5
          I am not familiar with mono. I assume it is some sort of VM to run Microsoft stuff. I will wait to hear from HS gurus first. If I don't hear from them, then I might take a shot.

          Comment


            #6
            Did you get it working?

            Comment


              #7
              No. I opened a ticket with technical support and they were no help.

              Comment


                #8
                Is there some known limitation why Mono processes can't use SSL? Having to route through myhomeseer to get a secure connection defeats the standalone benefit of using HS3.

                Comment

                Working...
                X