VPS侦探论坛

 找回密码
 注册
查看: 4825|回复: 2

Let'sEncrypt SSL证书的时候,一直创建不上。

[复制链接]
发表于 2021-9-5 00:28:50 | 显示全部楼层 |阅读模式


军哥,你好

我在创建Let'sEncrypt SSL证书的时候,一直创建不上。

报错如下:

Starting create SSL Certificate use Let's Encrypt...
[Sun Sep  5 00:26:19 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Sep  5 00:26:19 CST 2021] Can not init api.
[Sun Sep  5 00:26:19 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Sep  5 00:26:19 CST 2021] Can not init api.
[Sun Sep  5 00:26:19 CST 2021] Registering account
[Sun Sep  5 00:26:19 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Sep  5 00:26:19 CST 2021] Could not get nonce, let's try again.
[Sun Sep  5 00:26:23 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Sep  5 00:26:23 CST 2021] Could not get nonce, let's try again.
[Sun Sep  5 00:26:26 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
[Sun Sep  5 00:26:26 CST 2021] Could not get nonce, let's try again.
[Sun Sep  5 00:26:29 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6


查了报错情况
CURLE_COULDNT_RESOLVE_HOST (6)
Couldn't resolve host. The given remote host was not resolved.



烦请看下,谢谢。
之前1.6的脚本是没问题的哈,现在1.7的脚本。

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-9-5 10:16:58 | 显示全部楼层


error code: 6 的话就是无法解析域名,和lnmp什么版本没关系,检测你系统上的dns是否正确设置和正常工作
如果是国内机器的话有可能是qiang的干扰
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-9-6 14:15:53 | 显示全部楼层

licess 发表于 2021-9-5 10:16
error code: 6 的话就是无法解析域名,和lnmp什么版本没关系,检测你系统上的dns是否正确设置和正常工作
如 ...

查了系统dns设置如下:

  1. # Generated by NetworkManager
  2. nameserver 1.0.0.1
  3. nameserver 8.8.8.8
  4. nameserver 1.1.1.1
  5. # NOTE: the libc resolver may not support more than 3 nameservers.
  6. # The nameservers listed below may not be recognized.
  7. nameserver 8.8.4.4
  8. nameserver 74.82.42.42
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 20:30 , Processed in 0.026716 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表