2016-11-17 8 views
6

यह आदेश:Letsencrypt उपयोग करने के लिए कैसे --preferred-चुनौती

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

आउटपुट:

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

प्रलेखन यहाँ से: https://certbot.eff.org/docs/using.html#certbot-command-line-options

मुझे लगता है:

--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: []) 

मुझे वें क्यों मिलता है त्रुटि है?

उत्तर

7

उत्तर मिला, हालांकि वेबसाइट बताती है कि letsencrypt और certbot समान हैं। ऐसा लगता है कि यह मामला नहीं है।

$ 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 

चाल करता है

संबंधित मुद्दे