找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 25|回复: 2

lnmp 1.4版本,SSL证书更新有问题 The manual plugin is not working

[复制链接]

159

主题

492

回帖

1525

积分

金牌会员

积分
1525
发表于 2018-6-19 15:54:20 | 显示全部楼层 |阅读模式
大佬们帮忙看看怎么改

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 来刷新,会出现上面的问题
回复

使用道具 举报

453

主题

2772

回帖

6951

积分

论坛元老

积分
6951
发表于 2018-6-19 15:59:22 | 显示全部楼层
升级1.5吧 1.4那个不好用
回复

使用道具 举报

60

主题

1621

回帖

3474

积分

论坛元老

积分
3474
发表于 2018-6-19 16:04:06 | 显示全部楼层
升级1.5,1.4旧版的规则已失效……
另外升级完1.5续签还失败的话,手动备份&删除vhost配置,重新添加vhost+SSL
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-3-4 07:08 , Processed in 0.016472 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表