Я пытаюсь использовать 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 stretch. Это сработало для меня:
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 , я ошибки в восходящем направлении . Чтобы обойти проблему, выполните одно из следующих действий:
dnf install python3-certbot-nginx
.Решение @andig отлично сработало для меня. Не уверен, почему сначала я мог установить letsencrypt и создать сертификаты и не смог продлить, но с этим пакетом все разобралось. .Спасибо!
Это сработало для меня на экземпляре AWS EC2, используя pip
$ sudo -H pip install certbot-apache
На всякий случай установил certbot
pip
тоже при помощи
Закончился здесь с той же ошибкой после использования yum install certbot. пришлось отдельно выполнить yum install 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"
Для записи, соответствующая проблема Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932444
это решило это для меня.
"apt-get install certbot"
Мне нужно было установить certbot отдельно после установки certbot-apache
Самый полезный комментарий
Попробуйте:
sudo apt-get install python-certbot-apache
:)