宝塔用户_taoauv 发表于 2024-3-8 15:10:41

【已完成】Let's Encrypt证书申请出错

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:宝塔8.0.5
系统版本:centos stream8
问题描述:申请Let's Encrypt证书(文件验证)出错
相关截图(日志、错误):
Traceback (most recent call last): File "/www/server/panel/class/acme_v2.py", line 1396, in apply_cert self.get_auths(index) File "/www/server/panel/class/acme_v2.py", line 430, in get_auths self.set_auth_info(identifier_auth, index=index) File "/www/server/panel/class/acme_v2.py", line 456, in set_auth_info identifier_auth['auth_to'], identifier_auth['token'], identifier_auth['acme_keyauthorization'], index) File "/www/server/panel/class/acme_v2.py", line 487, in write_auth_file return self.write_ngin_authx_file(auth_to, token, acme_keyauthorization, index) File "/www/server/panel/class/acme_v2.py", line 549, in write_ngin_authx_file raise Exception("配置文件中用于文件验证的部分必须位于root指令下,以保证优先级,请勿调整") Exception: 配置文件中用于文件验证的部分必须位于root指令下,以保证优先级,请勿调整

堡塔运维南一 发表于 2024-3-8 16:41:23

检查一下网站配置文件这里,是不是增加了一些配置
页: [1]
查看完整版本: 【已完成】Let's Encrypt证书申请出错