Certbot: "Das angeforderte Apache-Plugin scheint nicht installiert zu sein" auf raspbian

Erstellt am 5. Dez. 2016  ·  17Kommentare  ·  Quelle: certbot/certbot

Ich versuche, certbot auf Raspbian zu verwenden.

Ich habe es geschafft, es zu installieren, ich habe auch libaugeas0 und augeas-lenses installiert

apache2 wird ebenfalls mit aktiviertem SSL installiert.

Aber wenn ich den Befehl sudo certbot --apache ausführe, erhalte ich die folgende Fehlermeldung:

The requested apache plugin does not appear to be installed

Wie kann ich das beheben?

apache more-info

Hilfreichster Kommentar

Versuch: sudo apt-get install python-certbot-apache :)

Alle 17 Kommentare

Zwei Fragen: (1) Wie haben Sie certbot installiert? (2) Können Sie die vollständigen Protokolle von /var/log/letsencrypt/letsencrypt.log posten?

Klar kann ich das!

  1. Ich habe certbot mit apt installiert:
>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. Hier der Inhalt des Logfiles:
>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

Versuch: sudo apt-get install python-certbot-apache :)

Ich habe es versucht:

>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

Also habe ich den alten Namen des Pakets versucht:

>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

Wie kann certbot in Raspbian verfügbar sein, wenn python-certbot-apache nicht verfügbar ist?

Das gleiche Problem hier mit certbot, das von Raspbian Stretch installiert wurde. Bei mir hat das funktioniert:

sudo apt-get install python-letsencrypt-apache

Danke für diesen Beitrag, mein Problem ist gelöst. Gutes Zeug.

Ich habe ein ähnliches Problem auf Fedora 26. Ich habe certbot-apache installiert, ich habe versucht, python-letsencrypt-apache zu installieren, aber es schlägt fehl, ich habe versucht, python-certbot-apache zu installieren, aber es ist bereits installiert. Der Inhalt meiner /var/log/letsencrypt/letsencrypt.log ist wie folgt.
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 , ich Fehlers im Upstream geschlossen habe . Um das Problem zu umgehen, entweder:

  1. Verwenden Sie die ausführbare Datei "certbot-2".
  2. Führen Sie dnf install python3-certbot-nginx .

@andig Lösung hat bei mir

Dies funktionierte für mich auf einer AWS EC2-Instance mit pip

$ sudo -H pip install certbot-apache

Für alle Fälle habe ich certbot mit pip installiert

Bin hier mit dem gleichen Fehler gelandet, nachdem ich yum install certbot verwendet hatte. musste separat yum installieren certbot-apache und problem geklärt.

ich musste laufen

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

Bei dem Versuch, certbot auf einem Mac OS X Server (El Capitan) mit Hilfe von MacPorts (anstelle von HomeBrew) zu installieren, wurde dieser Befehl benötigt, um sudo certbot --apache Laufen zu bringen:
sudo port install certbot-apache .
Ich habe dies aus den obigen Beiträgen abgeleitet. Vielen Dank!

ich musste laufen

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

Die Installation von python3-certbot-apache hat dies auf Fedora 28 gelöst. Ich habe yum verwendet.

in meinem Fall wurde die Domäne in virtuellen Hosts in "etc/apache2/sites-enabled/....conf" nicht korrekt hinzugefügt.

Für die Aufzeichnung die entsprechende Debian-Ausgabe: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932444

das hat es für mich gelöst.
"apt-get install certbot"
Ich musste certbot separat installieren, nachdem ich certbot-apache installiert hatte

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen