目录 客户端 certbot acme.sh 安装acme.sh 1. 自动安装 2. 手动安装 3. 测试收否安装成功 使用acme.sh生成证书 1. HTTP 方式 2. DNS 方式 1. 生成证书记录 2. 在域名解析中手动添加TXT记录 3. 重新生成证书 4. 使用DNS API的模式进行证书申请 (支持自动更新) 阿里云DNS API DnsPod API 查看/删除证书 使用acme.sh安装证书 Nginx 示例 Apache 示例 更新证书 更新acme.sh 删除acme…
文件来源 https://github.com/Neilpang/acme.sh/wiki/How-to-issue-a-cert domain=$domain time=`date +%Y%m%d%H%M%S` # http模式 # acme.sh --issue --standalone -d $domain -d www.$domain -w /var/www/ # # DNS模 # 可签发泛域名证书,如果脚本不支持域名服务器自动添加TXT # 需要手工添加TXT记录,然后 --renew…
一. 下载acme.sh,以下四条命令任选一条即可 curl https://get.acme.sh | shwget -O - https://get.acme.sh | sh curl https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh | INSTALLONLINE=1 sh wget -O - https://raw.githubusercontent.com/Neilpang/acme.sh/master/…
Let’s Encrypt从2018年开始支持泛域名证书,有效期3个月,目前仅支持acme方式申请,暂不支持certbot. 1.安装acme.sh curl https://get.acme.sh | sh 2.请求证书(泛域名以*.s-b.me为例) cd /.acme.sh ./acme.sh --issue -d *.s-b.me -d s-b.me --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please 输出: [Sat Ma…
环境说明 [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@localhost ~]# uname -r 3.10.0-862.11.6.el7.x86_64 安装 此处使用yum安装certbot #certbot 包在epel源中,所以此处需要先安装epel源 #另一种安装方法直接下载 wget https://dl.eff.org/certbot-auto #因为域名…
Let's Encrypt 简介 Let's Encrypt是一个于2015年三季度推出的数字证书认证机构,旨在以自动化流程消除手动创建和安装证书的复杂流程,并推广使万维网服务器的加密连接无所不在,为安全网站提供免费的SSL/TLS证书. 官方文档:letsencrypt.org 步骤 注:以下步骤使用Centos7进行操作,因为本人的CentOS服务器网络一直中断,文中截图是使用cygwin在Windows上的操作,有空会介绍怎么在Windows上使用acme.sh申请SSL证书. 1.安装…
1. 安装 acme.sh 安装很简单, 一个命令: curl https://get.acme.sh | sh 并创建 一个 bash 的 alias, 方便你的使用 alias acme.sh=~/.acme.sh/acme.sh 2. 生成证书 1. http 方式需要在你的网站根目录下放置一个文件, 来验证你的域名所有权,完成验证. 然后就可以生成证书了. acme.sh --issue -d www.yuming.com --webroot /data/sites/site/ 2. d…
项目地址: https://github.com/Neilpang/acme.sh…
参考文档:https://github.com/acmesh-official/acme.sh 一个使用纯shell操作的免费SSL证书申请部署工具. 免费的SSL证书由以下CA机构提供: ZeroSSL.com CA(default) Letsencrypt.org CA BuyPass.com CA SSL.com CA Pebble strict Mode Any other RFC8555-compliant CA 安装与初次使用 1.从Git安装 安装时需要指定要创建账号的邮箱,初次运…
一.简介 LetsEncrypt是一个免费.自动.开放的证书颁发机构.acme.sh 实现了 acme 协议, 可以从 LetsEncrypt 生成免费的证书. 本文介绍如何使用acme.sh来签发并自动续期LetsEncrypt免费SSL证书. 二.安装 安装acme.sh,只需要一条命令 curl https://get.acme.sh | sh 使用DNS方式验证 ,本文以CloudXNS为例,其他DNS服务商见文章结尾 事实上,acme.sh支持http方式和DNS方式验证域名所有权,但…