标签搜索
acme.sh
记录笔记的地方

acme.sh

skwax
2021-08-10 / 0 评论 / 26 阅读 / 正在检测是否收录...

【acme.sh】

安装acme.sh

curl https://get.acme.sh | sh

安装目录为: /root/.acme.sh/

然后执行以下命令:

source ~/.bashrc

换为你的cf的key

export CF_Key="8f1660278d10746efe524cd1b907f39779bf4"

换为你的cf的邮箱

export CF_Email="@163.com"

生成ssl证书

acme.sh --issue -d typealpha.ltd --dns dns_cf -d *.typealpha.ltd

cd /etc/nginx/
mkdir ssl_key

复制证书
acme.sh --install-cert -d typealpha.ltd \
--key-file /etc/nginx/ssl_key/key.key \
--fullchain-file /etc/nginx/ssl_key/cert.pem \
--reloadcmd "service nginx force-reload"

0

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/biji.moyuke.net/var/Widget/Archive.php on line 1032

评论

博主关闭了所有页面的评论