( influencer | 2023. 03. 23., cs – 11:19 )

Köszi, én is ide jutottam tegnap, hogy leszedtem a snap és az snapon kereszteüli certbot csomagokat, és felraktam innen csak pip használattal.

Már látja is a telepített plugint, előrébb vagyok:

# certbot plugins
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* apache
Description: Apache Web Server plugin
Interfaces: Authenticator, Installer, Plugin
Entry point: apache = certbot_apache._internal.entrypoint:ENTRYPOINT

* dns-ispconfig
Description: Obtain certificates using a DNS TXT record (if you are using
ISPConfig for DNS).
Interfaces: Authenticator, Plugin
Entry point: dns-ispconfig = certbot_dns_ispconfig.dns_ispconfig:Authenticator

* standalone
Description: Runs an HTTP server locally which serves the necessary validation
files under the /.well-known/acme-challenge/ request path. Suitable if there is
no HTTP server already running. HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: standalone = certbot._internal.plugins.standalone:Authenticator

* webroot
Description: Saves the necessary validation files to a
.well-known/acme-challenge/ directory within the nominated webroot path. A
seperate HTTP server must be running and serving files from the webroot path.
HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Be van már állítva a certbot, önmagában úgy tűnik működne, a plugin nélkül.

Azonban semmilyen módon nem tudom meghívni a plugint, hiába látja, ezek a hibaüzenetek, így próbálom futtatni:

certbot certonly \
  --dns-ispconfig \
  --dns-ispconfig-propagation-seconds 900 \
  --dns-ispconfig-credentials /etc/encryption/ispconfig-credentials.ini \
  --server https://acme-v02.api.letsencrypt.org/directory \
  --agree-tos \
  --rsa-key-size 2048 \
  -d 'abcd.hu' \
  -d '*.abcd.hu'

A certbot-dns-ispconfig plugin leírásában szereplő módon sem jó:

certbot certonly \
  --authenticator certbot-dns-ispconfig:dns-ispconfig \
  --certbot-dns-ispconfig:dns-ispconfig-credentials /etc/letsencrypt/.secrets/domain.tld.ini \
  --certbot-dns-ispconfig:dns-ispconfig-propagation-seconds 900 \
  --server https://acme-v02.api.letsencrypt.org/directory \
  --agree-tos \
  --rsa-key-size 4096 \
  -d 'example.com' \
  -d '*.example.com'

Ez a hibaüzenet minden esetben, amikor a plugint hívom:

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: ambiguous option: 
--dns-ispconfig could match 
--dns-ispconfig-propagation-seconds, 
--dns-ispconfig-credentials

Létezhet, hogy a plugint látja, de nem teljesen kompatibilis a plugin? Hogy kellene meghívni a certbotot wildcard használat esetén ezzel a certbot-dns-ispconfig plugin használattal?