DuckDNS and Letsencrypt - Not encrypted!

Hi

I followed this guide to setup Duck DNS and Let’s Encrypt.

It all went fine and the Duck DNS log shows that it’s working fine. I forwarded 8123 TCP port on my router.

{

  "lets_encrypt": {

    "accept_terms": true,

    "certfile": "fullchain.pem",

    "keyfile": "privkey.pem"

  },

  "token": "duckdnstoken",

  "domains": [

    "mydomain.duckdns.org"

  ],

  "seconds": 300

}

I can now access homeassistant from outside over an unencrypted and insecure connection, but not with https.

You should forward the https port 443 on your router and close the port 8123.
You can try to access it with the local ip and https to see if it work (You will have a warning regarding a wrong ask certificate, you can ignore it, it’s normal when using the ip to access the https).