大网数据广告活动
网站运营与故障问答

Could not renew letsencrypt certificate error 'The manual plugin is not working'

· 52CE 我爱测

I have obtained a certificate through let's encrypt with the following command: sudo certbot certonly --manual -d *.domain.com --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns-01 --server https:…

问题原文

原帖链接 · wouter205 · CC BY-SA 4.0

I have obtained a certificate through let's encrypt with the following command:

sudo certbot certonly --manual -d *.domain.com --agree-tos --no-bootstrap
--manual-public-ip-logging-ok --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory

When I try to renew the certificate now with sudo certbot renew I stumble upon the following error:

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 (domain.com) from /etc/letsencrypt/renewal/domain.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/domain.com/fullchain.pem (failure)

Do I need to enter additional options in the command or is this feature not yet supported?

已采纳解答

原帖链接 · Bypper · CC BY-SA 4.0

I had the same problem...

You don't have to renew Certificate with "renew" option. You have to run the same command you ran for Certificate creation.

It detects your Certificate needs renew, and it will ask you the new DNS record "_acme-challenge" modification. You must change record as it will tell you, and continue and Voila: Certificate will renew next three months.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2018-07-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。