原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/qq_19868745/article/details/72677709

遇到的问题如下:IMPORTANT NOTES:

- The following errors were reported by the server:

Domain: www.miling.online
   Type:   unauthorized
   Detail: Invalid response from
   http://www.miling.online/.well-known/acme-challenge/8IPPiMABwsHSwqSSTfZ5XMv7wD9sqXdO1pzOwFebdzg
   [2001:470:35:bf9::2]: 404

To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A record(s) for that domain
   contain(s) the right IP address.
[root@iZuf6istfz0zvz8dbdfyxxZ ~]# certbot-auto renew --force-renew
-bash: certbot-auto: command not found
[root@iZuf6istfz0zvz8dbdfyxxZ ~]# 
[root@iZuf6istfz0zvz8dbdfyxxZ ~]# 1
-bash: 1: command not found
[root@iZuf6istfz0zvz8dbdfyxxZ ~]# certbot renew --quiet
Attempting to renew cert from /etc/letsencrypt/renewal/www.miling.online.conf produced an unexpected error: Failed authorization procedure. www.miling.online (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.miling.online/.well-known/acme-challenge/o30LM-8eAdn4IB8vX96Aa1Xgs6Mwc-5QjJNQ8mjl_Ns [2001:470:35:bf9::2]: 404. Skipping.

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/www.miling.online/fullchain.pem (failure)

1 renew failure(s), 0 parse failure(s)

最后查看了certbot的帮助

依次运行:

# service nginx stop

# certbot --force-renewal

# certbot certonly

# certbot renew --dry-run

# cerbot nginx start

需要注意的是service nginx stop/start,否则会出现问题

使用certbot续期ssl证书renew时遇到问题相关推荐

  1. 使用Certbot配置SSL证书【ubuntu系统】

    Step1:安装snapd[linux包管理工具] sudo apt install snapd #安装snapd sudo snap install core #安装core sudo snap r ...

  2. 使用certbot自动申请续期SSL证书(Ubuntu)

    ##介绍 我们通过Certbot自动化完成SSL证书注册和配置文件修改步骤,从而在Web服务器上启用加密的HTTPS.目前,获取和安装证书的整个过程在Apache和Nginx上都是完全自动化的. 在本 ...

  3. Certbot 生成 ssl 证书

    certbot 是用来申请 Let's Encrypt 免费 SSL 证书一般的免费 SSL 证书,好像都是使用 Let's Encrypt 颁发的证书.官网地址:https://letsencryp ...

  4. 域名证书续期 SSL证书如何续费

    SSL证书是数字证书的一种,类似于驾驶证.护照和营业执照的电子副本.因为配置在服务器上,也称为SSL服务器证书.SSL 证书就是遵守 SSL协议,由受信任的数字证书颁发机构CA,在验证服务器身份后颁发 ...

  5. certbot 安装ssl证书

    certbot 安装网站 https://certbot.eff.org/instructions?ws=nginx&os=centosrhel7 sudo yum install certb ...

  6. 为何浏览器访问部署沃通EV SSL证书网站时无法显示绿色地址栏?

    EV SSL 是 Extended Validation SSL 的缩写,是指遵循全球统一的严格身份验证标准颁发的SSL证书,是目前业界最高安全级别的SSL证书.用户访问部署了EV SSL证书的网站, ...

  7. ubuntu上使用certbot安装ssl证书到nginx

    文档:Certbot Instructions | Certbot 1.简介 Certbot 是一种免费的开源软件工具 用于在手动管理的网站上自动使用Let's Encrypt证书以启用 HTTPS. ...

  8. LNMP续期SSL证书

    部署: 以dnspod和namesilo为例,实际应用的鉴权参数需要自行获取并替换 export DP_Id="12345" export DP_Key="abcdefg ...

  9. 让网站永久拥有HTTPS - 申请免费SSL证书并自动续期

    本文永久地址 为什么要用HTTPS 相关简介 Let's Encrypt Certbot 便宜SSL 获取HTTPS证书 命令行 安装Certbot 申请证书 图形化 部署HTTPS证书 设置HTTP ...

最新文章

  1. swim 中一行代码解决收回键盘
  2. MOD函数语法和参数
  3. FPGA之道(48)跨时钟域问题
  4. html5游戏加载动画,HTML5 战场3游戏的加载指示动画
  5. 小学计算机几年级学3d建模,学了4年手绘和建模,你终于不会思考了
  6. 2019年java安装步骤_win10的JAVA(jdk)2020年最新版安装教程心得
  7. 土地土壤数据下载网站整理
  8. Win10系统电脑如何设置窗口绿色护眼色
  9. - 麦田守望者 -读后感
  10. web前端@css选择器
  11. NAT alg 和 ASPF
  12. CodeForces - 1009D Relatively Prime Graph
  13. 为什么阿里,腾讯,百度和京东都是在开曼岛注册的?
  14. Android UID相关知识
  15. NUnit2.0详细使用方法 选择自 cyp403 的 Blog
  16. 如何确定scrum的story之一:识别利益相关者和目标
  17. 一键查询微信加过那些群聊
  18. 基于opencv3.0和zbar下条形码和二维码的识别与解码
  19. 字节流之文件输入流FileInputStream(上)
  20. 【谷歌地图--MapsSDK集成】

热门文章

  1. 2020高压电工复审模拟考试及高压电工作业考试题库
  2. 2021年高压电工考试总结及高压电工复审考试
  3. python制作餐馆管理系统(详解及代码)
  4. 如何提升企业内部的固定资产管理水平?
  5. 疯壳-MTK智能电话手表开发整板测试
  6. HTML引用页眉页脚,【记录】docbook为html,pdf添加页眉和页脚
  7. 迅雷下载出错.候选文件均为24.4 MB (25,642,153 字节)
  8. 深入理解Intel CPU体系结构【值得收藏!】
  9. 大数据处理两套解决方案
  10. Java错误: the selection cannot be launched,and there are no recent launches