GNU/Linux >> LINUX-Kenntnisse >  >> Cent OS

Installieren Sie das Certbot Apache-Plugin in CentOS Stream 8

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

Notiz

Dieses 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.


Cent OS
  1. Installieren Sie Let’s Encrypt auf Centos 8

  2. So installieren Sie Apache Cassandra unter CentOS 8

  3. So installieren Sie Apache unter CentOS 7

  4. So installieren Sie Apache Kafka unter CentOS 8

  5. So installieren Sie Certbot auf CentOS Stream 8 [Let’s Encrypt]

So installieren Sie Apache ServiceMix unter CentOS 7

So installieren Sie Apache Cassandra in CentOS

Installieren Sie Apache OpenOffice auf CentOS 8

So installieren Sie elgg unter CentOS 8

So installieren Sie Apache ServiceMix unter CentOS 8

So installieren Sie Apache auf CentOS 9 Stream