I spent several hours thinking about what’s wrong in my config. It’s impossible From me to acces to my ****.duckdns.org
The steps I followed is:
Configure DUCKDNS like this:
aliases: []
domains:
- ******.duckdns.org
lets_encrypt:
accept_terms: true
algo: secp384r1
certfile: fullchain.pem
keyfile: privkey.pem
seconds: 300
token: ********************
It’s shown in the log:
[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] done.
[services.d] starting services
[services.d] done.
# INFO: Using main config file /data/workdir/config
+ Account already registered!
[22:41:17] INFO: OK
———-
UPDATED
[22:41:17] INFO: Renew certificate for domains: *****.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
Processing *****.duckdns.org
+ Checking domain name(s) of existing cert... unchanged.
+ Checking expire date of existing cert...
+ Valid till Jul 20 20:58:15 2022 GMT (Longer than 30 days). Skipping renew!
[22:46:21] INFO: OK
I installed the Let’sEncrypt add-on like this:
domains:
- *****.duckdns.org
email: [email protected]
keyfile: privkey.pem
certfile: fullchain.pem
challenge: http
And this the log:
[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.
[23:47:55] INFO: Selected http verification
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate not yet due for renewal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Certificate not yet due for renewal; no action taken.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
And this is my opening ports configuration:
External 443 - 8123 Internal
External 8123 - 8123 Internal
External 80 - 80 Internal.
And finally in my configuration.yaml
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
EDIT: I found this message, but I don’t know how can I solve it: Certificate validation error: ***.duckdns.org [unable to get local issuer
I don’t know where is the mistake…