let's encrypt 如何用certbot删除一个证书,我们需要用到delete命令以删除一个不用的证书
直接命令行输入
certbot delete
然后会列出所有证书问你哪个需要删除,我们只要输入要删除哪个的序号,然后回车即可
root@sandbox:~# certbot delete
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which certificate(s) would you like to delete?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: xxx.com
2: sandbox.xxx.tech
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Deleted all files relating to certificate xxx.com.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
以上,就是certbot删除一个证书的方法了。
viencoding.com版权所有,允许转载,但转载请注明出处和原文链接: https://viencoding.com/article/311