GNU/Linux >> Tutoriels Linux >  >> Cent OS

Installez le plug-in Certbot Apache dans CentOS Stream 8

Question :J'avais suivi votre guide pour installer Certbot dans CentOS Stream 8. Cependant, le certbot --apache la commande échoue avec un message d'erreur "Le plugin apache demandé ne semble pas être installé ‘. – Satish.

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

Installer le plugin Apache Certbot dans CentOS

Noter

Ce didacticiel suppose que vous aviez déjà installé Certbot dans CentOS Stream 8. Si ce n'est pas le cas, vous devez d'abord l'installer avant de poursuivre la lecture.

Le message d'erreur indique clairement que Certbot nécessite l'installation d'un plugin apache. Bien qu'Apache et Certbox soient installés, vous avez besoin du plug-in certbot apache pour récupérer le certificat et l'installer automatiquement sur le serveur Web Apache.

Liste des plugins 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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

La sortie ci-dessus confirme que le plug-in Apache n'est pas installé et que vous devez en installer un comme indiqué ci-dessous.

Installer le plug-in 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!

Vérifiez si le plugin est correctement installé.

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

Maintenant que le plugin est installé, vous êtes prêt à récupérer le certificat et à l'installer sur le serveur Web Apache.

#certbot --apache

C'est ça! En savoir plus sur les certificats Let's Encrypt.


Cent OS
  1. Installer Let's Encrypt sur Centos 8

  2. Comment installer Apache Cassandra sur CentOS 8

  3. Comment installer Apache sur CentOS 7

  4. Comment installer Apache Kafka sur CentOS 8

  5. Comment installer Certbot sur CentOS Stream 8 [Let's Encrypt]

Comment installer Apache ServiceMix sur CentOS 7

Comment installer Apache Cassandra dans CentOS

Installer Apache OpenOffice sur CentOS 8

Comment installer elgg sur CentOS 8

Comment installer Apache ServiceMix sur CentOS 8

Comment installer Apache sur le flux CentOS 9