GNU/Linux >> Znalost Linux >  >> Cent OS

Nainstalujte plugin Certbot Apache v CentOS Stream 8

Otázka :Postupoval jsem podle vašeho průvodce při instalaci Certbota do CentOS Stream 8. Nicméně certbot --apache příkaz selže s chybovou zprávou „Zdá se, že požadovaný plugin Apache není nainstalován ‘. – Sathish.

# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The requested apache plugin does not appear to be installed

Instalovat plugin Certbot apache v CentOS

Poznámka

Tento výukový program předpokládá, že jste již nainstalovali Certbot v CentOS Stream 8. Pokud ne, musíte si jej nejprve nainstalovat, než budete číst dále.

Chybová zpráva jasně říká, že Certbot vyžaduje instalaci pluginu Apache. I když máte nainstalované Apache a Certbox, potřebujete plugin certbot apache k načtení certifikátu a jeho automatické instalaci na webový server Apache.

Seznam pluginů certbot:

# 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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Výše uvedený výstup potvrzuje, že plugin Apache není nainstalován a je třeba jej nainstalovat, jak je uvedeno níže.

Instalovat plugin certbot apache

# dnf install python3-certbot-apache
::::::::::::::::::::::::::::::::


Installed:
python3-augeas-0.5.0-12.el8.noarch python3-certbot-apache-1.22.0-1.el8.noarch

Complete!

Zkontrolujte, zda je plugin správně nainstalován.

# 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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Nyní je plugin nainstalován, jste připraveni načíst certifikát a nainstalovat jej na webový server Apache.

#certbot --apache

A je to! Přečtěte si další informace o certifikátech Let’s Encrypt.


Cent OS
  1. Nainstalujte Let’s Encrypt na Centos 8

  2. Jak nainstalovat Apache Kafka na CentOS 8

  3. Jak nainstalovat Certbot na CentOS Stream 8 [Let’s Encrypt]

  1. Jak nainstalovat Apache Cassandra na CentOS 8

  2. Jak nainstalovat Apache na CentOS 7

  3. Jak nainstalovat Apache Maven na CentOS 7

  1. Jak nainstalovat Apache Cassandra na CentOS 7

  2. Jak nainstalovat Apache na CentOS 8

  3. Jak nainstalovat Apache Maven na CentOS 8