GNU/Linux >> Linux Esercitazione >  >> Cent OS

Installa il plug-in Certbot Apache in CentOS Stream 8

Domanda :Ho seguito la tua guida per installare Certbot in CentOS Stream 8. Tuttavia, il certbot --apache comando non riesce con un messaggio di errore "Il plug-in Apache richiesto non sembra essere installato '. – Satish.

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

Installa il plug-in apache Certbot in CentOS

Nota

Questo tutorial presuppone che tu abbia già installato Certbot in CentOS Stream 8. In caso contrario, devi installarlo prima di continuare a leggere.

Il messaggio di errore dice chiaramente che Certbot richiede l'installazione di un plug-in apache. Sebbene siano installati Apache e Certbox, è necessario il plug-in apache di certbot per recuperare il certificato e installarlo automaticamente sul server Web Apache.

Elenca i plugin di 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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

L'output sopra conferma che il plugin Apache non è installato ed è necessario installarne uno come mostrato di seguito.

Installa il 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!

Controlla se il plugin è installato correttamente.

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

Ora il plugin è installato, sei pronto per recuperare il certificato e installarlo sul server web Apache.

#certbot --apache

Questo è tutto! Ulteriori informazioni sui certificati Let's Encrypt.


Cent OS
  1. Installa Let's Encrypt su Centos 8

  2. Come installare Apache Cassandra su CentOS 8

  3. Come installare Apache su CentOS 7

  4. Come installare Apache Kafka su CentOS 8

  5. Come installare Certbot su CentOS Stream 8 [Let's Encrypt]

Come installare Apache ServiceMix su CentOS 7

Come installare Apache Cassandra in CentOS

Installa Apache OpenOffice su CentOS 8

Come installare elgg su CentOS 8

Come installare Apache ServiceMix su CentOS 8

Come installare Apache su CentOS 9 Stream