I tried with dns challenge. If I do not fill the “dns” field, I get these logs:
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
cont-init: info: running /etc/cont-init.d/file-structure.sh
cont-init: info: /etc/cont-init.d/file-structure.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun lets-encrypt (no readiness notification)
s6-rc: info: service legacy-services successfully started
[17:36:34] INFO: Selected DNS Provider: null
[17:36:34] INFO: Use propagation seconds: 60
usage:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: --null --null-credentials /data/dnsapikey
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
And if I set it to something:
domains:
- mydomain.duckdns.org
email: [email protected]
keyfile: privkey.pem
certfile: fullchain.pem
challenge: dns
dns:
provider: duckdns
then I get this error:
Failed to save add-on configuration, value must be one of ['dns-azure', 'dns-cloudflare', 'dns-cloudxns', 'dns-digitalocean', 'dns-directadmin', 'dns-dnsimple', 'dns-dnsmadeeasy', 'dns-gandi', 'dns-gehirn', 'dns-google', 'dns-google-domains', 'dns-hetzner', 'dns-inwx', 'dns-linode', 'dns-luadns', 'dns-netcup', 'dns-njalla', 'dns-nsone', 'dns-ovh', 'dns-rfc2136', 'dns-route53', 'dns-sakuracloud', 'dns-transip']. Got {'domains': ['mydomain.duckdns.org'], 'email': '[email protected]', 'keyfile': 'privkey.pem', 'certfile': 'fullchain.pem', 'challenge': 'dns', 'dns': {'provider': 'duckdns'}}
And duckdns is not on the list of supported dns