Set up Lets Encrypt??

Discussion in 'C-Bus Wiser 2 Controller' started by martymonster, Dec 19, 2023.

  1. martymonster

    martymonster

    Joined:
    Aug 5, 2004
    Messages:
    160
    Likes Received:
    1
    How does one set up Lets Encrypt to obtain a certificate?

    eg: Domain to use is
    fred.bear.net
    DDNS service freedns.afraid.org

    In Piced
    Project Details->DDNS/SSL

    Click on DDNS Enabled
    DDNS Service - choose freedns.afraid.org
    Host Name - fred.bear.net
    User Name - your freedns username
    Password - your freedns username password or a special token

    DNS for Lets encrypt -
    Home Controller DNS name - fred.bear.net

    Upload project to Wiser2

    Is there anything else that is needed to be done for it to obtain the certificate?
    Is there a way to check Wiser2 to see if a certificate has been created?

    Thanks
     
    martymonster, Dec 19, 2023
    #1
  2. martymonster

    MHeaton

    Joined:
    Apr 22, 2008
    Messages:
    104
    Likes Received:
    1
    Location:
    London
    Did you ever get this to work? I don't need DDNS as have AWS serving all my addresses and cannot get lets encrypt to work, or uploading my own certificate (as i have an AD domain as well).
     
    MHeaton, Apr 1, 2024
    #2
  3. martymonster

    martymonster

    Joined:
    Aug 5, 2004
    Messages:
    160
    Likes Received:
    1
    No, have not looked at it for awhile.
    Will look into it again soon.
     
    martymonster, Apr 20, 2024
    #3
  4. martymonster

    leko4u

    Joined:
    Feb 15, 2017
    Messages:
    5
    Likes Received:
    0
    Location:
    wamberal
    trying to work this out myself. Will let you know if I have success.
     
    leko4u, May 3, 2024 at 8:44 AM
    #4
  5. martymonster

    martymonster

    Joined:
    Aug 5, 2004
    Messages:
    160
    Likes Received:
    1
    Have just been doing some testing.
    Took the wiser up to the study and plugged it into the network and plugged the HDMI out to a monitor.
    Plugged in a keyboard and mouse.
    NOT connected to the C-Bus network for this.

    The network output/input calls are monitored by Graylog so I can see what network calls are being made.

    Did a factory reset.
    Connected via keyboard/mouse/HDMI using the default admin user and default admin password.
    Had a look at the setup which showed it is connected to the home network via DHCP.
    Tried to log in via network IP address port 80 but it still says that you must use HTTPS for network connection.
    So it still does not allow local connection.

    I set up the DDNS using zoneedit.


    During the reboot, I could see that it calls the NTP servers to get the current time.
    After a few minutes, it contacts zoneedit.
    Looking at the zoneedit dynamic records, I can see that the call works and the DDNS is showing my IP address.
    So that part is working.

    I update the config via piced and added the zoneedit information (host Name xxx.yyy.net) and added the same for the Lets Encrypt Home Controller DNS Name xxx.yyy.net.

    I uploaded the config to the Wiser.

    After the reboot, I again could see calls to NTP and zoneedit.
    But no other outgoing calls.

    So how does it call Lets Encrypt to get the SSL certificate?

    I then unplugged the wiser and put it back where it normally goes and connected it to the CBus network.

    Upon reboot, it calls NTP and zoneedit.

    End result
    Still cannot connect VIA Lan on Port 80 as it assumes we are NOT local!!
    Cannot figure out how to setup Lets Encrypt.
    Cannot connect via HTTPS as there is NO certificate

    Is there a document that explains how to set up and use Lets Encrypt for the Wiser2 box?
     
    martymonster, May 9, 2024 at 4:36 AM
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.