Je souhaiterais utiliser duckdns pour pouvoir avoir acces à mon rpi 5 depuis une adresse https. Cependant j’ai du mal à comprendre ce qu’il faut faire au niveau de l’ouverture du port 8123 sur ma box ainsi que l’histoire de l’ip fixe (j’ai deux adresse, celle en locale et l’autre pour le wifi).
Il faut imperativement fixer IP de HA dans ta BOX
Sur ma box SFR, c’est dans l’onglet DHCP.
Il te faut adresse MAC de ton RPI5 et tu fixe son adresse en statique.
Il faut rediriger le port 8123 sur ta Box (je te mets exemple sur ma box SFR)
Sur ma BOX c’est dans l’onglet NAT.
Du coup j’ai fixé l’adresse ip détecté par ip scanner et redirigé le port vers 8123 mais maintenant j’ai un soucis avec duckdsn. Est ce que le journal est bon ??
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
# INFO: Using main config file /data/workdir/config
+ Generating account key...
+ Registering account key with ACME server...
+ Fetching account URL...
+ Done!
[12:32:47] WARNING: KO
[12:32:47] INFO: Renew certificate for domains: http:/xxxxxx.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
+ Creating chain cache directory /data/workdir/chains
Processing http://xxxx.duckdns.org
+ Creating new directory /data/letsencrypt/http://xxxxxxx.duckdns.org ...
+ Signing domains...
+ Generating private key...
+ Generating signing request...
Could not open file or uri for loading private key from /data/letsencrypt/http://ha-daulon.duckdns.org/privkey-1715250769.pem
002D52927F000000:error:1608010C:STORE routines:inner_loader_fetch:unsupported:crypto/store/store_meth.c:353:No store loader found. For standard store loaders you need at least one of the default or base providers available. Did you forget to load them? Info: Global default library context, Scheme (/data/letsencrypt/http : 0), Properties (<null>)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
# INFO: Using main config file /data/workdir/config
+ Account already registered!
[12:34:54] WARNING: KO
[12:34:54] INFO: Renew certificate for domains: http://xxxxxxx.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
Processing http://xxxxxxxxx.duckdns.org
+ Signing domains...
+ Generating private key...
+ Generating signing request...
Could not open file or uri for loading private key from /data/letsencrypt/http://xxxx.duckdns.org/privkey-1715250896.pem
002DFBB47F000000:error:1608010C:STORE routines:inner_loader_fetch:unsupported:crypto/store/store_meth.c:353:No store loader found. For standard store loaders you need at least one of the default or base providers available. Did you forget to load them? Info: Global default library context, Scheme (/data/letsencrypt/http : 0), Properties (<null>)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
# INFO: Using main config file /data/workdir/config
+ Account already registered!
[12:36:21] WARNING: KO
[12:36:21] INFO: Renew certificate for domains: http://xxxxxxxx.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
Processing http://xxxxxx.duckdns.org
+ Creating new directory /data/letsencrypt/http://xxxxxx.duckdns.org ...
+ Signing domains...
+ Generating private key...
+ Generating signing request...
Could not open file or uri for loading private key from /data/letsencrypt/http://xxxx.duckdns.org/privkey-1715250983.pem
007D96B87F000000:error:1608010C:STORE routines:inner_loader_fetch:unsupported:crypto/store/store_meth.c:353:No store loader found. For standard store loaders you need at least one of the default or base providers available. Did you forget to load them? Info: Global default library context, Scheme (/data/letsencrypt/http : 0), Properties (<null>)
Du coup avez-vous une idée de ce qu’il faut faire pour enlever ce problème ?
+ Account already registered!
[13:24:32] WARNING: KO
[13:24:32] INFO: Renew certificate for domains: http://xxxxxxxx.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
Processing http://xxxxxxxx.duckdns.org
+ Signing domains...
+ Generating private key...
+ Generating signing request...
Could not open file or uri for loading private key from /data/letsencrypt/http://xxx.duckdns.org/privkey-1715253875.pem
00CDCABE7F000000:error:1608010C:STORE routines:inner_loader_fetch:unsupported:crypto/store/store_meth.c:353:No store loader found. For standard store loaders you need at least one of the default or base providers available. Did you forget to load them? Info: Global default library context, Scheme (/data/letsencrypt/http : 0), Properties (<null>)
[13:29:35] WARNING: KO
[13:34:36] WARNING: KO
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
# INFO: Using main config file /data/workdir/config
+ Account already registered!
[13:35:28] INFO: Renew certificate for domains: xxxxx.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
Processing xxxxxxx.duckdns.org
+ Creating new directory /data/letsencrypt/xxxxxxx.duckdns.org ...
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting new certificate order from CA...
+ Received 1 authorizations URLs from the CA
+ Handling authorization for xxxxxx.duckdns.org
+ 1 pending challenge(s)
+ Deploying challenge tokens...
OK + Responding to challenge for xxxxxx.duckdns.org authorization...
+ Cleaning challenge tokens...
OK + Challenge validation has failed :(
ERROR: Challenge is invalid! (returned: invalid) (result: ["type"] "dns-01"
["status"] "invalid"
["error","type"] "urn:ietf:params:acme:error:unauthorized"
["error","detail"] "During secondary validation: Incorrect TXT record \"\" found at _acme-challenge.xxxxxx.duckdns.org"
["error","status"] 403
["error"] {"type":"urn:ietf:params:acme:error:unauthorized","detail":"During secondary validation: Incorrect TXT record \"\" found at _acme-challenge.xxxxx.duckdns.org","status":403}
["url"] "https://acme-v02.api.letsencrypt.org/acme/chall-v3/348593918657/rSaMaA"
["token"] "ahk8ZAWdassDfBoylchTpbZHclCiJJ53pN7PrnwXrxE"
["validationRecord",0,"hostname"] "xxxxxxx.duckdns.org"
["validationRecord",0,"resolverAddrs",0] "10.0.12.82:24201"
["validationRecord",0,"resolverAddrs"] ["10.0.12.82:24201"]
["validationRecord",0] {"hostname":"xxxxxxx.duckdns.org","resolverAddrs":["10.0.12.82:24201"]}
["validationRecord"] [{"hostname":"xxxxxx.duckdns.org","resolverAddrs":["10.0.12.82:24201"]}]
["validated"] "2024-05-09T11:35:35Z")