编辑
2025-12-21
服务器
00

目录

1.安装acmesh(https://github.com/acmesh-official/acme.sh)

1.安装acmesh(https://github.com/acmesh-official/acme.sh)

js
1. git clone https://github.com/acmesh-official/acme.sh.git cd acme.sh ./acme.sh --install -m qq.com 2. 直接签发 acme.sh --issue -d xueqi666.com --webroot 网站的/路径 (acme.sh --set-default-ca --server letsencrypt)ZeroSSL太慢了 3.运行 acme.sh --install-cert -d xueqi666.top \ --key-file /home/xq/openresty/conf/tls/xueqi666.top.key \ --cert-file /home/xq/openresty/conf/tls/xueqi666.top.cer \ --fullchain-file /home/xq/openresty/conf/tls/fullchain.cer \ --reloadcmd "docker restart openresty" 安装证书 4.配置openrestry ssl_certificate /usr/local/openresty/nginx/tls/fullchain.cer; ssl_certificate_key /usr/local/openresty/nginx/tls/xueqi666.top.key; 5.查看定时任务60天自动申请一次 crontab -e

本文作者:薛祁

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!