大佬们帮忙看看怎么改

lnmp 1.4 版本,看crontab里面任务是这样的 sh /root/certbot-auto renew

执行证书更新的时候会报错

Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',)
Attempting to renew cert (aaaa.com) from /etc/letsencrypt/renewal/aaaa.com.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/aaaa.com/fullchain.pem (failure)

网上查了说 通过手动模式获取的 letsencrypt 证书是无法通过执行 /usr/bin/letsencrypt renew 来刷新,会出现上面的问题