简介

acme.sh是一款用于签发Let's Encrypt证书的脚本。本脚本是原项目的生成证书指令的集合。

原项目地址:https://github.com/Neilpang/acme.sh
本项目地址:https://github.com/nanqinlang-script/acme

使用

运行以下命令:

wget https://raw.githubusercontent.com/nanqinlang-script/acme/master/acme_2.0.sh
bash acme_2.0.sh

然后按照以下步骤:

  1. 输入你的域名。
  2. 选择要生成证书的类型。输入数字0(生成rsa类型)或1(生成ecc类型)。若未选择则默认生成rsa类型。
  3. dns方式验证域名所有权。添加脚本中显示的绿色字体的TXT记录,添加完成后稍等下(等个一分钟应该够了),之后回车继续。
  4. SSL证书生成至/home/yourdomain/home/yourdomain_ecc路径下。

生成的文件包含:

  • yourdomain.key:证书密钥
  • yourdomain.cer:站点证书
  • fullchain.cer:也是站点证书
  • ca.cer:中间证书

补充说明

原项目是包括定时更新和api自动验证域名等功能的,但我这个脚本不打算加入这些,60天手动运行一次其实也还好。

原文地址:acme.sh-SSL证书签发脚本

What you should Keep in Mind If you need to Choose From Amongst Many Wedding Invitations

Find a bride is one of the most usual search conditions that people go through when they need to choose from among many themed invitations. They a...

阅读全文

May i Share My Network With Someone Else’s Norton Security Trial?

One of the most prevalent questions people have about the Norton trial is whether it can be shared. When you purchase the Norton service, you are ...

阅读全文

Broadway Bets Appears to Raise Money to Fight AIDS

Broadway Bets Appears to Raise Money to Fight AIDS If you think your competitors in poker is intense, then chances are you have not seen the compet...

阅读全文

评论已经关闭。