您现在的位置是: 首页 > 运维 LNMP 手动更新 SSL 证书
LNMP 手动更新 SSL 证书
2020-06-03 【运维】 3733人已围观 8454次浏览
简介LNMP 手动更新 SSL 证书提示 It seems the CA server is busy now, let's wait and retry. Sleeping 1 seconds
最近发现有一台 VPS 上搭建的网站 SSL 证书快要过期了,由于之前一直是用的 lnmp 1.6 中的命令自动创建和部署的 Let’s Encrypt 免费证书,证书三个月过期,之前一直都是在到期前一个月自动续期的,这次却马上都要到期了,也没有自动续期。
登录到 VPS 查看自动更新命令
crontab -l
发现执行的是目录 /usr/local/acme.sh 下面的 acme.sh,然后手动执行更新域名证书的命令
acme.sh --renew -d 域名
一般来说,执行到这里,只要稍微等待一会儿,自动签发证书并重启 Nginx 后就正常了。但是却等了很久,并提示下面的内容
It seems the CA server is busy now, let's wait and retry. Sleeping 1 seconds
根据提示,发现是连接服务器出现了问题,查询官网发现
官网公告地址
https://community.letsencrypt.org/t/new-cdn-for-the-production-api/102629
国内访问会很慢,下面是复制的公告原文
Today we have transitioned to a new CDN for the Production API. The change should already be visible worldwide. We expect that this change will not affect any client software.
We had previously made this transition for the Staging API: New CDN for the Staging API 180
With the new CDN, we have the opportunity to terminate TLS ourselves. The most visible change will be that the API will present a different TLS certificate. This will validate normally. We’ll also be able to make more agile ciphersuite changes in the future.
If you notice changes to API availability or behavior, please bring this to our attention here in the community forum. Thank you!
因为 LNMP 的 Let’s Encrypt 证书支持,就是用的 acme.sh 程序
查看 acme.sh 的 GitHub 发现更新过版本
所以这里直接更新 VPS 上的 acme.sh 程序
cd /usr/local/acme.sh
acme.sh --upgrade
升级成功后,重新执行
acme.sh --renew -d 域名
执行成功后,SSL 证书更新完成
很赞哦! (0)
相关文章
- mysql 索引过长1071-max key length is 767 byte
- Zookeeper 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain
- Windows CMD 常用命令
- Docker 批量操作命令
- Linux 查看磁盘、磁盘分区、挂载磁盘、卸载磁盘操作
- ElasticSearch安装踩坑指南
- 解决443端口被VMWare Workstation占用
- Linux 常用命令 持续更新中...
- Linux 修改默认的 ssh 22 端口
- Redis 提示 MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk 解决方案
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Debian apt 使用国内镜像
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- nuxt 项目完整部署方案
站长推荐
猜你喜欢
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- idea去掉Smart commands execution提示
- 查看MySQL默认读取的配置文件
- LNMP 手动更新 SSL 证书
- SpringBoot @NotBlank 不生效问题
- npm 出现 Unexpected token < in JSON at position 21330
- nginx 出现 the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in 错误解决方案
- start.spring.io访问太慢,构建SpringBoot项目失败
- 自建Ngrok服务端
- Android SDK版本号与API级别的对照表