Duckdns - missing SSL files

Beginner at HassIO and trying to setup Duckdns for remote access and as everyone else I’m following the guide from Juan M Tech (https://www.juanmtech.com/hassio-duckdns-add-on-set-up/).

It all works pretty good but I don’t get any files in my “/SSL” directory, it’s completely empty which also causes this code to generate errors:

http:
  base_url: https://mydomain.duckdns.org:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

Not really sure where to start debugging or what information you need, but should the SSL files above be created automatically or should I have added them myself?

EDIT:
Duckdns config:

lets_encrypt:
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
token: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
domains:
  - mydomain.dyndns.org
seconds: 300

Did you change accept_terms to true in the duckdns add-on config? Also check the add-on log for errors

Yes I have, I think I have done what is needed and I have tried to reinstall several times. So whatever misstake I’m doing I keep repeating :slight_smile:

I updated the original post with the config for Duckdns. Do you see anything that is wrong? Shoud the files be added in the /SSL folder automatically? Are they generated based on the token or can I download a set of files from somewhere?

So after some restarts and reinstalls I got it to work. Only question is how do I access it locally now? Should I simply use the https://mydomain.duckdns.org since hassio.local:8123 isn’t working anymore?

What IP addres should I enter in the app? The Duckdns address or something else?

I have the same problem, i haven’t files in ssl folder. Could you explain the solution please ?

1 Like

I have the same problem, i haven’t files in ssl folder.

solved it by adding algo:

lets_encrypt:
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
  algo: secp384r1

This is a really stupid thing, but thought i’d share in case anyone else has this happen. When I pasted in the token from duckdns.org, it copied with some whitespace at the front of it. Removing this and restarting duckdns, ssl files got generated soon after.

1 Like