kangyuehua 发表于 2021-7-15 18:00:52

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

军哥您好,就是在生成SSL证书的时候,一直提示如下报错
日志如下
Enable pathinfo.
Starting create SSL Certificate use Let's Encrypt...
Using CA: https://acme-v02.api.letsencrypt.org/directory
Registering account: https://acme-v02.api.letsencrypt.org/directory
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
Could not get nonce, let's try again.
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
Registered
Can not find account id url.

Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!


CURL版本如下
# 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版本

licess 发表于 2021-7-15 20:35:43

论坛搜索:libcurl-errors
不同的错误代码都有不同的解决方法

kangyuehua 发表于 2021-7-16 09:56:54

licess 发表于 2021-7-15 20:35
论坛搜索:libcurl-errors
不同的错误代码都有不同的解决方法
军哥您好,按照您说的搜到了解决方式,但是处理之后又出现了新的报错,能不能麻烦您帮忙看一下啊,实在是太不好意思麻烦您了报错如下
Enable pathinfo.Starting create SSL Certificate use Let's Encrypt...
Please refer to https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html for error code: 4
Can not init api.
Using CA: https://acme-v02.api.letsencrypt.org/directory
Multi domain='DNS:qimeih.cn,DNS:*.qimeih.cn'
Getting domain auth token for each domain
Could not get nonce, let's try again.
Could not get nonce, let's try again.
Could not get nonce, let's try again.


licess 发表于 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 执行一下再添加一次记录完整的日志
页: [1]
查看完整版本: Centos 8.0生成SSL证书一直提示Please refer to https://curl.haxx.se/lib...