Hello, I am trying to make Letsencrypt work with homeassistant. I am trying to expose port 8123 to internet using letsencrypt. I can see that letsencrypt is looking for a file in .well-known folder.
I am not sure how to create it and how to place this in folder as I am unable to find this folder.
Following are my logs, any help will be greatly appreciated,
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] file-structure.sh: executing...
[cont-init.d] file-structure.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:51:06] INFO: Selected http verification
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for 209hla.duckdns.org
Waiting for verification...
Challenge failed for domain 209hla.duckdns.org
http-01 challenge for 209hla.duckdns.org
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: 209hla.duckdns.org
Type: unauthorized
Detail: Invalid response from
http://209hla.duckdns.org/.well-known/acme-challenge/wEdtlVF30O39hcKQcPIjTzCMhjHKRvYiJ05QkrytnvA
[2.99.20.44]: 404
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.