【问题标题】:Howto change live directory with certbot?如何使用 certbot 更改实时目录?
【发布时间】:2017-04-24 02:08:21
【问题描述】:

我使用 CentOS7 和 certbot 制作 ssl 证书,但是证书的默认目录是 "/etc/letsencript/live/first-host" ,如何用 "/etc/letsencript/default" 更改 forst-host 目录举个例子?

我使用的是 certbot:

certbot certonly --standalone -d host1 -d host2 --debug

还有目录:

/etc/letsencript/live/host1/

【问题讨论】:

    标签: centos7 lets-encrypt certbot


    【解决方案1】:

    /etc/letsencript/live 目录中的元素只是指向/etc/letsencrypt/archive/... 的符号链接。

    您可以添加另一个符号链接:

    sudo ln -s /etc/letsencript/live/host1/ /etc/letsencript/default
    

    【讨论】:

    • 什么是你不想符号链接但在其他地方有根目录?你能指定一个选项让 certbot 在另一个 DIR 中查找吗?
    猜你喜欢
    • 2018-10-03
    • 2018-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-13
    • 2010-09-24
    • 2017-06-04
    • 2015-11-06
    相关资源
    最近更新 更多