续签SSL证书命令 可以试一下

1.Ubuntu系统下开放所有端口

iptables -P INPUT ACCEPT

iptables -P FORWARD ACCEPT

iptables -P OUTPUT ACCEPT

iptables -F


2.运行Acme脚本(需要有个DNS解析好的域名)

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


3.申请证书及密钥

~/.acme.sh/acme.sh --register-account -m xxxx@gmail.com

~/.acme.sh/acme.sh  --issue -d 你的域名   --standalone


4.下载证书及密钥

~/.acme.sh/acme.sh --installcert -d 你的域名  --key-file /root/private.key --fullchain-file /root/cert.crt


证书路径

/root/cert.crt   公钥

/root/private.key    密钥

评论

此博客中的热门博文

科技lion官方一键脚本上线!VPS监控测试建站维护于一身的全能工具箱

2023国外的接码平台分享

CloudCone付费VPS分享 挺便宜的