简介
acme.sh 是一款用于签发 Let’s Encrypt 证书的脚本。本脚本是原项目的生成证书指令的集合。
一键脚本
使用此脚本,只需运行如下:
wget https://raw.githubusercontent.com/nanqinlang-script/acme/master/acme_2.0.sh
bash acme_2.0.sh
使用说明
按照以下步骤:
- 输入你的域名
- 选择要生成证书的类型。输入数字 0(生成 RSA 类型) 或 1(生成 ECC 类型)。若未选择则默认生成 RSA 类型
- 用 DNS 方式验证域名所有权:添加脚本中显示的 绿色字体的 TXT 记录,添加完成后稍等下(等个五分钟应该够了),回车继续
- SSL 证书文件生成至
/home/your-domain_rsa
或/home/your-domain_ecc
路径下
解释
生成的文件中:
ca.cer:中间证书
yourdomain.key:证书密钥
yourdomain.cer:站点证书
fullchain.cer:站点证书+中间证书
最新评论
Hi to all, it's genuinely a fastidious for me to visit this web page, it contains valuable Informati
Hi it's me, I am also visiting this site regularly, this site is actually nice and the people are
Hello. And Bye.
This is very interesting, You're a very skilled blogger. I've joined your feed and look forward to
王某发来贺电
91porn携全体用户发来贺电,祝老托开业大吉!
头像测试
一位不愿透漏姓名的热心网友