Certbot: 添加命令以列出当前安装的所有证书及其域

创建于 2016-10-18  ·  7评论  ·  资料来源: certbot/certbot

我建议我们添加一个certbot list命令,该命令将列出所有当前证书、到期时间和任何域。

样本输出:

$ certbot list
2 certificates were found on this system:
-------------------------------------------------------------------------------
File: /etc/letsencrypt/renewal/domain1.com.conf
Certificate expiration: 2016-11-15
Primary domain: domain1.com
Alternative domains: domain2.net, domain3.org, domain4.co.uk
-------------------------------------------------------------------------------
File: /etc/letsencrypt/renewal/example1.com.conf
Certificate expiration: 2016-12-25
Primary domain: example1.com
Alternative domains: example2.net, example3.org, example4.co.uk
-------------------------------------------------------------------------------
duplicate

最有用的评论

仅供所有通过谷歌来这里的人参考。 它是

sudo certbot certificates

所有7条评论

好消息! 我们已经有一个问题,我们计划在下一个版本中实现它。 见#3615。

@bmw感谢您的信息。 在我的一生中,我找不到任何提到这里搜索和谷歌的错误。 很高兴听到它正在制作中。

2017 年 10 月。撞车?

@LymeSimon ,根据我上面链接的问题,该命令已实施。 运行certbot certificates

谢谢宝马...我认为它是certbot list并且没有检查链接的问题。 我可能会得到现在必须在我的学校报告上更加努力! ;-)

只需certbot ls

仅供所有通过谷歌来这里的人参考。 它是

sudo certbot certificates
此页面是否有帮助?
0 / 5 - 0 等级