ラズビアンでcertbot
を使おうとしています。
なんとかインストールできました。 libaugeas0
とaugeas-lenses
もインストールしました。
apache2
もインストールされ、SSLが有効になっています。
しかし、コマンドsudo certbot --apache
を実行すると、次のエラーが発生します。
The requested apache plugin does not appear to be installed
どうすれば修正できますか?
2つの質問:(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で同じ問題が発生します。 これは私のために働いた:
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ソリューションは私にとってはうまく
これは、 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を個別にインストールする必要がありました
最も参考になるコメント
試してみてください:
sudo apt-get install python-certbot-apache
:)