Frage :Ich hatte Ihre Anleitung befolgt, um Certbot in CentOS Stream 8 zu installieren. Der certbot --apache
Der Befehl schlägt mit der Fehlermeldung „Das angeforderte Apache-Plug-in scheint nicht installiert zu sein fehl ‘. – Sathisch.
# certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log The requested apache plugin does not appear to be installed
Installieren Sie das Certbot-Apache-Plugin in CentOS
NotizDieses Tutorial geht davon aus, dass Sie Certbot bereits in CentOS Stream 8 installiert haben. Wenn nicht, müssen Sie es zuerst installieren, bevor Sie weiterlesen.
Die Fehlermeldung besagt eindeutig, dass für Certbot ein Apache-Plugin installiert werden muss. Obwohl Sie Apache und Certbox installiert haben, benötigen Sie das certbot-Apache-Plugin, um das Zertifikat abzurufen und automatisch auf dem Apache-Webserver zu installieren.
Zertbot-Plugins auflisten:
# certbot plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * standalone Description: Spin up a temporary webserver Interfaces: Authenticator, Plugin Entry point: standalone = certbot._internal.plugins.standalone:Authenticator * webroot Description: Place files in webroot directory Interfaces: Authenticator, Plugin Entry point: webroot = certbot._internal.plugins.webroot:Authenticator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Die obige Ausgabe bestätigt, dass das Apache-Plugin nicht installiert ist und Sie eines wie unten gezeigt installieren müssen.
Installieren Sie das Certbot-Apache-Plugin
# dnf install python3-certbot-apache :::::::::::::::::::::::::::::::: Installed: python3-augeas-0.5.0-12.el8.noarch python3-certbot-apache-1.22.0-1.el8.noarch Complete!
Überprüfen Sie, ob das Plugin richtig installiert ist.
# certbot plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * apache Description: Apache Web Server plugin Interfaces: Installer, Authenticator, Plugin Entry point: apache = certbot_apache._internal.entrypoint:ENTRYPOINT * standalone Description: Spin up a temporary webserver Interfaces: Authenticator, Plugin Entry point: standalone = certbot._internal.plugins.standalone:Authenticator * webroot Description: Place files in webroot directory Interfaces: Authenticator, Plugin Entry point: webroot = certbot._internal.plugins.webroot:Authenticator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Nachdem das Plugin installiert ist, können Sie das Zertifikat abrufen und auf dem Apache-Webserver installieren.
#certbot --apache
Das ist es! Erfahren Sie mehr über Let’s Encrypt-Zertifikate.