Helo silvrr,
Many thanks for your quick reply - we are on the right track to find the solution.
Once in the virtual environment I see the “dehydrated” folder but cannot access the “certs” folder. The right config would therefore be:
ssl_certificate: /home/pi/dehydrated/certs/myhome.duckdns.org/fullchain.pem
ssl_key: /home/pi/dehydrated/certs/myhome.duckdns.org/privkey.pem
But I need to search how to give access to the homeassistant user now.
Best
EDIT: found
I needed to give permission to homeassistant to access the two files (not done in the virtual environment):
$ sudo chown homeassistant:homeassistant ./dehydrated/certs/example.duckdns.org/fullchain.pem
$ sudo chown homeassistant:homeassistant ./dehydrated/certs/example.duckdns.org/privkey.pem
However - this does will prevent crontab from running. Itherefore chmodded both files with
$ sudo chmod 777 ./dehydrated/certs/example.duckdns.org/fullchain.pem ./dehydrated/certs/example.duckdns.org/privkey.pem
Not ideal but waiting for a better solution