أحاول استخدام certbot
على raspbian.
تمكنت من تثبيته ، لقد قمت أيضًا بتثبيت libaugeas0
و augeas-lenses
apache2
أيضًا ، مع تمكين SSL.
لكن عندما أقوم بتشغيل الأمر sudo certbot --apache
، يظهر لي الخطأ التالي:
The requested apache plugin does not appear to be installed
كيف يمكنني إصلاح ذلك؟
سؤالان: (1) كيف قمت بتثبيت certbot؟ (2) هل يمكنك نشر السجلات الكاملة من /var/log/letsencrypt/letsencrypt.log
؟
بالتأكيد يمكنني فعل ذلك!
>sudo apt-get install certbot -t stretch
>sudo certbot --apache
The requested apache plugin does not appear to be installed
>sudo apt-get install libaugeas0
The requested apache plugin does not appear to be installed
>sudo more /var/log/letsencrypt/letsencrypt.log.1
2016-12-06 00:12:46,080:DEBUG:certbot.main:Root logging level set at 20
2016-12-06 00:12:46,107:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-12-06 00:12:46,224:DEBUG:certbot.main:certbot version: 0.9.3
2016-12-06 00:12:46,226:DEBUG:certbot.main:Arguments: ['--apache']
2016-12-06 00:12:46,251:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryP
oint#manual,PluginEntryPoint#standalone)
2016-12-06 00:12:46,311:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2016-12-06 00:12:46,315:DEBUG:certbot.plugins.selection:No candidate plugin
2016-12-06 00:12:46,317:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
جرب: sudo apt-get install python-certbot-apache
:)
حاولت:
>sudo apt-get install python-certbot-apache
Package python-certbot-apache is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-certbot-apache' has no installation candidate
لذلك جربت الاسم القديم للحزمة:
>sudo apt-get install python-letsencrypt-apache
Package python-letsencrypt-apache is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python-certbot-apache
E: Package 'python-letsencrypt-apache' has no installation candidate
كيف يمكن أن يكون certbot
متاحًا في raspbian عندما لا يكون python-certbot-apache
متاحًا؟
نفس المشكلة هنا مع certbot المثبتة من raspbian تمتد. نجح هذا بالنسبة لي:
sudo apt-get install python-letsencrypt-apache
شكرا لهذا المنشور تم حل مشكلتي. أشياء جيدة.
أواجه مشكلة مماثلة في Fedora 26. لقد قمت بتثبيت certbot-apache
، حاولت تثبيت python-letsencrypt-apache
لكنه فشل ، حاولت تثبيت python-certbot-apache
لكنه مثبت بالفعل. محتويات /var/log/letsencrypt/letsencrypt.log
هي كما يلي.
2017-10-08 09:52:18,310:DEBUG:certbot.main:certbot version: 0.18.2
2017-10-08 09:52:18,311:DEBUG:certbot.main:Arguments: ['--apache']
2017-10-08 09:52:18,312:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2017-10-08 09:52:18,331:DEBUG:certbot.log:Root logging level set at 20
2017-10-08 09:52:18,332:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2017-10-08 09:52:18,333:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
2017-10-08 09:52:18,333:DEBUG:certbot.plugins.selection:No candidate plugin
2017-10-08 09:52:18,333:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
SethGower ، أتوقع أن مشكلتك هي نسخة مكررة من رقم 5132 الذي أغلقته لصالح الخطأ في المنبع . للتغلب على المشكلة ، إما:
dnf install python3-certbot-nginx
.حل andig يعمل بشكل جيد بالنسبة لي. لست متأكدًا من سبب تمكني في البداية من تثبيت Letsencrypt وإنشاء الشهادات وفشلت في التجديد ، ولكن مع هذه الحزمة تم فرز كل شيء. .شكرا!
نجح هذا بالنسبة لي في مثيل AWS EC2 ، باستخدام pip
$ sudo -H pip install certbot-apache
فقط في حالة تثبيت certbot
باستخدام pip
أيضًا
انتهى الأمر هنا بنفس الخطأ بعد استخدام yum install certbot. اضطررت إلى القيام بشكل منفصل بتثبيت certbot-apache وتم مسح المشكلة.
كان علي أن أركض
apt-get install python3-certbot python3-certbot-apache -t stretch
أثناء محاولة تثبيت certbot على خادم Mac OS X (El Capitan) بمساعدة MacPorts (بدلاً من HomeBrew) ، كان هذا الأمر مطلوبًا لتشغيل sudo certbot --apache
:
sudo port install certbot-apache
.
لقد استنتجت هذا وفقًا للوظائف أعلاه. تشكرات!
كان علي أن أركض
apt-get install python3-certbot python3-certbot-apache -t stretch
أدى تثبيت python3-certbot-apache إلى حل هذا في Fedora 28. لقد استخدمت yum.
في حالتي ، لم تتم إضافة النطاق بشكل صحيح في المضيفات الظاهرية في "etc / apache2 / sites-enabled / .... conf"
للسجل ، مشكلة دبيان المقابلة: https://bugs.debian.org/cgi-bin/bugreport.cgi؟bug=932444
هذا حلها بالنسبة لي.
"apt-get install certbot"
كنت بحاجة إلى تثبيت certbot بشكل منفصل بعد تثبيت certbot-apache
التعليق الأكثر فائدة
جرب:
sudo apt-get install python-certbot-apache
:)