惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

Rat's Blog - ssl

使用Caddy申请免费的Let’s Encrypt泛域名SSL证书 - Rat's Blog Let’s Encrypt免费泛域名SSL证书申请教程 - Rat's Blog 一个可以免费申请Let's Encrypt和TrustAsia SSL证书的网站 - Rat's Blog 利用Caddy快速简单的部署反向代理/镜像,自动签发SSL证书 - Rat's Blog MySSL:一个很详细的SSL测试工具网站 - Rat's Blog しらSSL:免费Alphassl泛域名证书申请 - Rat's Blog 分享一个SSL证书链补全工具,解决部分浏览器显示证书不可信的问题 - Rat's Blog 免费Alphassl泛域名SSL证书申请方法 - Rat's Blog Apache环境强制http 301跳转https的方法 - Rat's Blog
acme.sh:Let's Encrypt SSL证书自动签发脚本 - Rat's Blog
博主: Rat's · 2017-11-21 · via Rat's Blog - ssl

简介

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


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/419/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。