web-dev-qa-db-fra.com

Permet de crypter comment utiliser - défis-préférés

Cette commande:

$ letsencrypt certonly --manual --preferred-challenges dns --email [email protected] --domains test001.bar.com

les sorties:

letsencrypt: error: unrecognized arguments: --preferred-challenges dns

De la documentation ici: https://certbot.eff.org/docs/using.html#certbot-command-line-options

Je trouve:

  --preferred-challenges PREF_CHALLS
                        A sorted, comma delimited list of the preferred
                        challenge to use during authorization with the most
                        preferred challenge listed first (Eg, "dns" or "tls-
                        sni-01,http,dns"). Not all plugins support all
                        challenges. See
                        https://certbot.eff.org/docs/using.html#plugins for
                        details. ACME Challenges are versioned, but if you
                        pick "http" rather than "http-01", Certbot will select
                        the latest version automatically. (default: [])

Pourquoi ai-je cette erreur?

9
Bob van Luijt

Trouvé la réponse, bien que le site Web indique que letsencrypt et certbot sont les mêmes. Cela ne semble pas être le cas.

$ apt-get install letsencrypt
$ apt-get install python-pip
$ pip install --upgrade pip
$ pip install certbot
$ certbot certonly --manual --preferred-challenges dns --email [email protected] --domains test001.bar.com

Est-ce que l'astuce

10
Bob van Luijt