dnf install epel-release
dnf upgrade
dnf install certbot
# 生成通配符证书,xxx.com 替换为自己的域名
certbot certonly  -d *.xxx.com --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directorySaving debug log to /var/log/letsencrypt/letsencrypt.log
Enter email address (used for urgent renewal and security notices)(Enter 'c' to cancel): # 输入邮箱,用于紧急更新和安全通知- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf. You must
agree in order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: # 是否同意 Let's Encrypt 协议要求- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: # 是否分享你的邮箱Account registered.
Requesting a certificate for *.xxx.com- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name:
_acme-challenge.xxx.com.
with the following value:
g9dxW0UylBMDlLoX2XIDxdsftUjBe8uCZ2wZLdqK6xcBefore continuing, verify the TXT record has been deployed. Depending on the DNS
provider, this may take some time, from a few seconds to multiple minutes. You can
check if it has finished deploying with aid of online tools, such as the Google
Admin Toolbox: https://toolbox.googleapps.com/apps/dig/#TXT/_acme-challenge.xxx.com.
Look for one or more bolded line(s) below the line ';ANSWER'. It should show the
value(s) you've just added.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
# 要求配置 DNS TXT 记录,从而校验域名所有权,也就是判断证书申请者是否有域名的所有权。
# 上面输出要求给 http://_acme-challenge.xxx.cn 配置一条 TXT 记录,在没有确认 TXT 记录生效之前不要回车执行。Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/xxx.com/fullchain.pem
Key is saved at:         /etc/letsencrypt/live/xxx.com/privkey.pem
This certificate expires on 2023-02-12.
These files will be updated when the certificate renews.NEXT STEPS:
- This certificate will not be renewed automatically. Autorenewal of --manual certificates requires the use of an authentication hook script (--manual-auth-hook) but one was not provided. To renew this certificate, repeat this same certbot command before the certificate's expiry date.- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:* Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate* Donating to EFF:                    https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -crontab -e # 编辑定时任务
0 */12 * * * certbot renew --quiet --renew-hook "/etc/init.d/nginx reload"

Let‘s Encrypt 安装配置教程相关推荐

  1. Let's Encrypt 安装配置教程

    官网:https://letsencrypt.org/ 安装Let's Encrypt 安装非常简单直接克隆就可以了 git clone https://github.com/letsencrypt/ ...

  2. centos7 mysql workbench_centOS下mysql workbench安装配置教程

    本文为大家分享了mysql workbench安装配置教程,供大家参考,具体内容如下 step0:安装mysql 在按照workbench之前,先安装mysql.指令是 yum install mys ...

  3. mysql5.7.20非安装版_mysql5.7.20\5.7.21免安装版安装配置教程

    mysql 下载安装配置 5.7.20 / 5.7.21,供大家参考,具体内容如下 1.下载mysql,下载地址 选择操作系统和版本,我是64位win10,点击 Download 后会跳到Oracle ...

  4. mysql5.17免安装教程_详细介绍MySql5.7.17免安装配置教程的示例代码

    这篇文章给大家详细介绍了MySql 5.7.17免安装配置教程,首先大家需要先下载mysql 5.7.17 的安装包,然后解压,具体配置过程大家通过本文一起学习吧 1.下载mysql-5.7.17-w ...

  5. Windows上PostgreSQL安装配置教程

    这篇文章主要为大家详细介绍了Windows上PostgreSQL安装配置教程,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 PostgreSQL的扩展PostGIS是最著名的开源GIS数据库.  ...

  6. php5.4 windows2003,PHP实战:Windows2003下php5.4安装配置教程(IIS)

    <PHP实战:Windows2003下php5.4安装配置教程(IIS)>要点: 本文介绍了PHP实战:Windows2003下php5.4安装配置教程(IIS),希望对您有用.如果有疑问 ...

  7. windows7系统适合哪个python_Python3.6.4在Windows7系统下安装配置教程

    Python3.64在Windows7系统下安装配置教程 工具/原料 Windows7系统 python3.6.4版本 方法/步骤 1 双击应用程序打开如图所示的界面这里是应用程序向导界面 这里建议勾 ...

  8. MySQL 5.7.21详细下载安装配置教程

    MySQL 5.7.21详细下载安装配置教程 前言 在安装MySQL的时候会遇到很多问题,博客上有很多解决问题的办法,在这里我附上一些链接,遇到问题的朋友们可以阅读参考哈~本文主要针对于刚接触数据库的 ...

  9. mysql 5.6.31 配置_MySQL5.6.31 winx64.zip 安装配置教程详解

    #1. 下载 # #2.解压到本地 修改必要配置my*.ini #3.mysql install admin模式启动cmd cd mysql目录/bin 执行安装: mysqld -install 启 ...

最新文章

  1. HA: InfinityStones靶机渗透测试
  2. (一)TestNG测试框架之HelloWorld入门
  3. 第1章python基础语法1
  4. 引用和指针的区别都有什么_C++指针与引用的区别
  5. python读取文件编码错误_Python 读取文本文件编码错误解决方案(未知文本文件编码情况下解决方案)...
  6. 备考通信复试过程中的一些知识点总结梳理——信息论基础知识
  7. SONY UP-D898MD 或 UP-X898MD驱动在WIN10 64下的安装
  8. 微信抽奖网络服务器错误,微信抽奖账号异常原因?
  9. 二、8【FPGA】Verilog中锁存器(Latch)原理、危害及避免
  10. numpy多维数组shape的理解
  11. springcloud五大神兽之Gateway
  12. 如何快速关闭8080端口
  13. 购买的域名可以退款吗?域名购买后怎么删除?
  14. 长路漫漫,java为伴之java学习路线篇
  15. 5G时代已经到来,TCP/IP老矣,尚能饭否?
  16. jenkins+pipeline+Amazon_EKS部署java服务
  17. mac电脑打不开html文件怎么处理,苹果电脑Mac打不开网页怎么办?Mac打不开网页的解决方法...
  18. excel 2007数据透视表教程
  19. root后还是打不开data/data
  20. A股上市有什么条件?A股上市条件有哪些?

热门文章

  1. windows7壁纸黑色
  2. windows server 2012 r2 切换语言为中文、英文,下载安装多语言安装包
  3. mysql的配置文件my.ini 或者 my-default.ini 参考
  4. 【Windows】虚拟串口工具VSPD7.2安装
  5. 五金模具与塑胶模具的区别和各自的优点
  6. 安卓手机管理软件_老牌管理软件,已破,无广告,全功能不受限。安替换手机文件管理软件吧。...
  7. 矩形的对角线经过的小方格数量
  8. 记一次坎坷的调试|Mosquitto通过TLS连接EMQ时阻塞的问题
  9. echarts自定义省份地图及map上的内容
  10. 2021高考成绩23号几点可以查询,2021年安徽高考成绩23号几点可以查询,今天几点出高考成绩...