GNU/Linux >> Linux の 問題 >  >> Cent OS

CentOSStream8にCertbotApacheプラグインをインストールします

質問 :CentOS Stream 8にCertbotをインストールするためのガイドに従いました。ただし、certbot --apache コマンドが失敗し、「要求されたApacheプラグインがインストールされていないようです」というエラーメッセージが表示されます ‘。 –サティシュ。

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

CentOSにCertbotapacheプラグインをインストールします

ノート

このチュートリアルは、CertbotがCentOS Stream 8にすでにインストールされていることを前提としています。まだインストールされていない場合は、先に読む前にまずインストールする必要があります。

エラーメッセージは、Certbotにapacheプラグインをインストールする必要があることを明確に示しています。 ApacheとCertboxがインストールされていますが、証明書を取得してApacheWebサーバーに自動的にインストールするにはcertbotapacheプラグインが必要です。

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

上記の出力は、Apacheプラグインがインストールされていないことを確認しており、以下に示すようにプラグインをインストールする必要があります。

certbotapacheプラグインをインストールします

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


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

Complete!

プラグインが正しくインストールされているかどうかを確認してください。

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

これでプラグインがインストールされ、証明書を取得してApacheWebサーバーにインストールする準備が整いました。

#certbot --apache

それでおしまい! Let'sEncrypt証明書の詳細をご覧ください。


Cent OS
  1. Let’sEncryptをCentos8にインストールする

  2. CentOS8にApacheKafkaをインストールする方法

  3. CentOS Stream8にCertbotをインストールする方法[Let’s Encrypt]

  1. CentOS8にApacheCassandraをインストールする方法

  2. CentOS7にApacheをインストールする方法

  3. CentOS7にApacheMavenをインストールする方法

  1. CentOS7にApacheCassandraをインストールする方法

  2. CentOS8にApacheをインストールする方法

  3. CentOS8にApacheMavenをインストールする方法