Certbot Apache插件已安装但无法调用的问题求助
Certbot Apache插件已安装但无法调用的问题求助
大家好,我最近在用Certbot配置SSL证书时遇到了个棘手的问题:明明已经安装了Apache插件,却始终调用不了,想请各位帮忙排查下原因。
最开始我直接执行命令:
certbot --apache
得到的报错是:
Saving debug log to /var/log/letsencrypt/letsencrypt.log The requested apache plugin does not appear to be installed
我以为是插件没装,就运行了安装命令:
dnf install certbot python3-certbot-apache
结果终端显示两个包都已经安装完成了,只是有仓库重复配置的提示:
Repository extras is listed more than once in the configuration Repository fasttrack is listed more than once in the configuration Last metadata expiration check: 0:38:45 ago on Sun 08 Oct 2023 06:17:31 PM -04. Package certbot-1.22.0-1.el8.noarch is already installed. Package python3-certbot-apache-1.22.0-1.el8.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
之后我用certbot plugins查看已安装插件,结果只显示了standalone和webroot两种,完全找不到Apache插件的踪迹:
Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * standalone Description: Runs an HTTP server locally which serves the necessary validation files under the /.well-known/acme-challenge/ request path. Suitable if there is no HTTP server already running. HTTP challenge only (wildcards not supported). Interfaces: Authenticator, Plugin Entry point: EntryPoint(name='standalone', value='certbot._internal.plugins.standalone:Authenticator', group='certbot.plugins') * webroot Description: Saves the necessary validation files to a .well-known/acme-challenge/ directory within the nominated webroot path. A seperate HTTP server must be running and serving files from the webroot path. HTTP challenge only (wildcards not supported). Interfaces: Authenticator, Plugin Entry point: EntryPoint(name='webroot', value='certbot._internal.plugins.webroot:Authenticator', group='certbot.plugins') - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
再试一次certbot --apache,还是弹出同样的插件未安装提示。我现在实在没头绪了,有没有大佬能给点解决思路?
备注:内容来源于stack exchange,提问作者Luis Alfredo Serrano Díaz
相关产品推荐
相关产品推荐

