ddhello 发表于 2021-2-15 23:05:02

无法使用let's encrypt自动安装证书,报错无法初始化api

Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
Can not init api.
Using CA: https://acme-v02.api.letsencrypt.org/directory
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
Can not init api.
Registering account: https://acme-v02.api.letsencrypt.org/directory
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
Could not get nonce, let's try again.
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
Could not get nonce, let's try again.

licess 发表于 2021-2-16 09:07:21

error code: 28 的话是连接超时,有可能你网络连接到letsencrypt网络不畅通

error code: 35的话是SSL握手时报错,有可能系统上openssl版本问题,可以尝试在生成证书之前执行 export ACME_USE_WGET=1
页: [1]
查看完整版本: 无法使用let's encrypt自动安装证书,报错无法初始化api