IPV6用acme申请证书全过程记录

Auth:猫饭       Date:2022/10/30       Cat:代码       Word:共730字       Views:528

全过程记录,供需要的MJJ使用:

apt install -y socat

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

~/.acme.sh/acme.sh --register-account -m 邮箱地址(可以随便乱写个邮箱)

IPV4: ~/.acme.sh/acme.sh  --issue -d 要申请的域名 --standalone

IPV6: ~/.acme.sh/acme.sh  --issue -d 要申请的域名 --standalone --listen-v6

如果错误,切换申请商: 目前 acme.sh 支持四个正式环境 CA,分别是 Let's Encrypt、Buypass、ZeroSSL 和 SSL.com,默认使用 ZeroSSL,如果需要更换可以使用如下命令: 切换 Let's Encrypt ~/.acme.sh/acme.sh --set-default-ca --server letsencrypt

切换 Buypass ~/.acme.sh/acme.sh --set-default-ca --server buypass

切换 ZeroSSL ~/.acme.sh/acme.sh --set-default-ca --server zerossl

申请完毕,保存: ~/.acme.sh/acme.sh --installcert -d 要申请的域名 --key-file /root/private.key --fullchain-file /root/cert.crt

自动更新acme脚本: ~/.acme.sh/acme.sh  --upgrade  --auto-upgrade

正常情况下,acme脚本会自动续签,完毕,撒花

acme之前改了默认申请机构,导致一直超时等待,切换一下申请机构就好了(重点)

除非注明,猫饭文章均为原创,本文地址 https://maofun.com/2320.html,转载请以链接形式注明出处。

作者: 简介:

《IPV6用acme申请证书全过程记录》留言数:0

发表留言