Certbot: raspbianで「要求されたApacheプラグインがインストールされていないようです」

作成日 2016年12月05日  ·  17コメント  ·  ソース: certbot/certbot

ラズビアンでcertbotを使おうとしています。

なんとかインストールできました。 libaugeas0augeas-lensesもインストールしました。

apache2もインストールされ、SSLが有効になっています。

しかし、コマンドsudo certbot --apacheを実行すると、次のエラーが発生します。

The requested apache plugin does not appear to be installed

どうすれば修正できますか?

apache more-info

最も参考になるコメント

試してみてください: sudo apt-get install python-certbot-apache :)

全てのコメント17件

2つの質問:(1)certbotをどのようにインストールしましたか? (2) /var/log/letsencrypt/letsencrypt.logから完全なログを投稿できますか?

確かに私はそれを行うことができます!

  1. aptを使用してcertbotをインストールしました:
>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
  1. ログファイルの内容は次のとおりです。
>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で同じ問題が発生します。 これは私のために働いた:

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 、あなたの問題は、上流

  1. 実行可能ファイル「certbot-2」を使用します。
  2. dnf install python3-certbot-nginx実行します。

@andigソリューションは私にとってはうまく

これは、 pipを使用して、AWSEC2インスタンスで機能しました

$ 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

MacPorts(HomeBrewではなく)を使用してMac OS Xサーバー(El Capitan)にcertbotをインストールしようとしたときに、 sudo certbot --apache実行するために次のコマンドが必要でした。
sudo port install certbot-apache
上記の投稿に従ってこれを推測しました。 どうもありがとう!

私は走らなければなりませんでした

apt-get install python3-certbot python3-certbot-apache -t stretch

python3-certbot-apacheをインストールすると、Fedora28でこれが解決されました。yumを使用しました。

私の場合、ドメインは「etc / apache2 / sites-enabled / .... conf」の仮想ホストに正しく追加されませんでした

記録のために、対応するDebianの問題: https

これは私のためにそれを解決しました。
「apt-getinstallcertbot」
certbot-apacheをインストールした後、certbotを個別にインストールする必要がありました

このページは役に立ちましたか?
0 / 5 - 0 評価