【发布时间】:2021-12-30 23:03:44
【问题描述】:
在尝试通过 acme.sh 脚本获取 Let's Encrypt 证书时,我有时会遇到此错误。
有时这是第一次尝试获取 Let's Encrypt 证书,有时它以前可以,但现在突然不起作用。
错误信息类似于:
domain.com:Verify error:Invalid response from https://example.com/.well-known/acme-challenge/1kSTnls6_vcku98gwLEUMQNnbl1cSY1pdBrPi7sJdos
Please add '--debug' or '--log' to check more details.
See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
添加--debug 选项,会显示一些类似于以下内容的日志条目:
Changing owner/group of .well-known to username:nobody
chown: changing ownership of /home/path/to/example.com: Operation not permitted
解决办法是什么?
【问题讨论】:
标签: cpanel web-hosting acme.sh