LOADING

acme.sh使用学习

acme.sh安装

curl https://get.acme.sh | sh -s [email protected]

acme.sh使用

配置证书并自动更新、自动安装。(指定证书目录)

# 申请
acme.sh --issue -d aaa.test.com --standalone
# 或webroot方案
acme.sh --issue -d example.com --webroot /path


# 安装配置文件指定路径
acme.sh --install-cert -d aaa.test.com \
        --cert-file      /home/aaa/cert/test/aaa.crt \
        --key-file       /home/aaa/cert/test/aaa.key \
        --fullchain-file /home/aaa/cert/test/aaa.fullchain.crt \
        --reloadcmd     "echo '证书已更新!'"