转移到新的EC2盒后如何更新let-encrypt证书?

时间:2019-05-06 00:26:05

标签: amazon-ec2 ubuntu-18.04 lets-encrypt

我有一个route53域和一个托管在EC2中的Web应用程序。我使用certbot route53插件生成证书。在遇到那个盒子的问题之后,我选择了迁移到一个新盒子。我将keychain.pemcertificate.pem文件移至/home/ubuntu/.certbot/config/live/{domain name}/目录,并像以前一样配置。工作正常。我刚收到一封电子邮件来更新我的证书。我重新安装了cerbot,但是cerbot renew得到了以下结果:

No renewals were attempted.

这是日志文件中的转储:

2019-05-05 19:07:41,307:DEBUG:certbot.main:certbot version: 0.31.0
2019-05-05 19:07:41,308:DEBUG:certbot.main:Arguments: ['-q']
2019-05-05 19:07:41,308:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#certbot-route53:auth,PluginEntryPoint#dns-route53,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-05-05 19:07:41,315:DEBUG:certbot.log:Root logging level set at 30
2019-05-05 19:07:41,316:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-05-05 19:07:41,317:DEBUG:certbot.renewal:no renewal failures
2019-05-05 20:14:07,229:DEBUG:certbot.main:certbot version: 0.31.0
2019-05-05 20:14:07,230:DEBUG:certbot.main:Arguments: []
2019-05-05 20:14:07,230:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#certbot-route53:auth,PluginEntryPoint#dns-route53,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2019-05-05 20:14:07,237:DEBUG:certbot.log:Root logging level set at 20
2019-05-05 20:14:07,238:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-05-05 20:14:07,239:DEBUG:certbot.renewal:no renewal failures

如何更新此证书?

0 个答案:

没有答案