VPS侦探论坛

 找回密码
 注册
查看: 246|回复: 3

Centos 8.0生成SSL证书一直提示Please refer to https://curl.haxx.se/lib...

[复制链接]
发表于 2021-7-15 18:00:52 | 显示全部楼层 |阅读模式



军哥您好,就是在生成SSL证书的时候,一直提示如下报错
日志如下
Enable pathinfo.
Starting create SSL Certificate use Let's Encrypt...
[Thu Jul 15 17:43:24 CST 2021] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Thu Jul 15 17:43:24 CST 2021] Registering account: https://acme-v02.api.letsencrypt.org/directory
[Thu Jul 15 17:43:24 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
[Thu Jul 15 17:43:24 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
[Thu Jul 15 17:43:25 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
[Thu Jul 15 17:43:25 CST 2021] Could not get nonce, let's try again.
[Thu Jul 15 17:43:29 CST 2021] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
[Thu Jul 15 17:43:29 CST 2021] Registered
[Thu Jul 15 17:43:29 CST 2021] Can not find account id url.
[Thu Jul 15 17:43:29 CST 2021]
[Thu Jul 15 17:43:29 CST 2021] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!


CURL版本如下
[root@iZ2zechwdz0wki6aw4i0rfZ bin]# curl -V
curl 7.77.0 (x86_64-pc-linux-gnu) libcurl/7.77.0 OpenSSL/1.1.1g-fips zlib/1.2.11
Release-Date: 2021-05-26
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets


请问应该怎么处理才能解决这个问题呢?服务器是阿里云的服务器,centos 8.0版本
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-7-15 20:35:43 | 显示全部楼层


论坛搜索:libcurl-errors
不同的错误代码都有不同的解决方法
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-7-16 09:56:54 | 显示全部楼层



licess 发表于 2021-7-15 20:35
论坛搜索:libcurl-errors
不同的错误代码都有不同的解决方法

军哥您好,按照您说的搜到了解决方式,但是处理之后又出现了新的报错,能不能麻烦您帮忙看一下啊,实在是太不好意思麻烦您了报错如下
Enable pathinfo.Starting create SSL Certificate use Let's Encrypt...
[Fri Jul 16 09:47:14 CST 2021] Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
[Fri Jul 16 09:47:14 CST 2021] Can not init api.
[Fri Jul 16 09:47:14 CST 2021] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Fri Jul 16 09:47:14 CST 2021] Multi domain='DNS:qimeih.cn,DNS:*.qimeih.cn'
[Fri Jul 16 09:47:15 CST 2021] Getting domain auth token for each domain
[Fri Jul 16 09:47:15 CST 2021] Could not get nonce, let's try again.
[Fri Jul 16 09:47:20 CST 2021] Could not get nonce, let's try again.
[Fri Jul 16 09:47:24 CST 2021] Could not get nonce, let's try again.


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



kangyuehua 发表于 2021-7-16 09:56
军哥您好,按照您说的搜到了解决方式,但是处理之后又出现了新的报错,能不能麻烦您帮忙看一下啊,实在是 ...

按错误代码是Network failure.
有可能是你系统网络无法正常访问letsencrypt的服务器

可以按反馈必读要求提供acme.sh.log 提供log_level 2的日志,不确定是否level 2的话 /usr/local/acme.sh/acme.sh --log-level 2 执行一下再添加一次记录完整的日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2021-8-4 17:49 , Processed in 0.052169 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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