简介

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证书签发脚本

The Bad Side of How Do Computers Do Math

You simply have to try new things and wait to observe how they connect with the remainder of your experiences later on. It might be an idea whose t...

阅读全文

Hello World!

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

阅读全文

Unusual Article Uncovers the Deceptive Practices of Left Hand Rule Physics

The Lost Secret of Left Hand Rule Physics Left recursive grammars aren’t fundamentally a factor. It ought to be held in mind this rule should...

阅读全文

评论已经关闭。