请教高手关于国内vps域名证书注册失败的问题(同样的代码在海外vps可以)
用最常用的方式
新的国内vps,安装os或者ubuntu系统都尝试过,均不行。同样的操作,同样的域名,海外vps则可以
- yum update -y #CentOS 命令
- yum install -y curl #CentOS 命令
- yum install -y socat #CentOS 命令
- curl https://get.acme.sh/ | sh
- ~/.acme.sh/acme.sh --register-account -m xxxx@xxxx.com
- ~/.acme.sh/acme.sh --issue -d mydomain.com --standalone
进行到这步时候
[2023年 02月 28日 星期二 23:50:09 CST] Using CA: https://acme.zerossl.com/v2/DV90
[2023年 02月 28日 星期二 23:50:09 CST] Standalone mode.
[2023年 02月 28日 星期二 23:50:09 CST] Creating domain key
[2023年 02月 28日 星期二 23:50:09 CST] The domain key is here: /root/.acme.sh/xxx(域名省去).com_ecc/xxx(域名省去).com.key
[2023年 02月 28日 星期二 23:50:09 CST] Single domain='xxx(域名省去).com'
[2023年 02月 28日 星期二 23:50:09 CST] Getting domain auth token for each domain
[2023年 02月 28日 星期二 23:50:15 CST] Getting webroot for domain='xxx(域名省去).com'
[2023年 02月 28日 星期二 23:50:15 CST] Verifying: xxx(域名省去).com
[2023年 02月 28日 星期二 23:50:15 CST] Standalone mode server
[2023年 02月 28日 星期二 23:50:18 CST] Processing The CA is processing your order please just wait. (1/30)
[2023年 02月 28日 星期二 23:50:23 CST] xxx(域名省去).com:Verify error:"error":{
[2023年 02月 28日 星期二 23:50:23 CST] Please add '--debug' or '--log' to check more details.
[2023年 02月 28日 星期二 23:50:23 CST] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
输入debug
[2023年 03月 01日 星期三 00:21:18 CST] xxx(域名省去).com:Verify error:"error":{
[2023年 03月 01日 星期三 00:21:18 CST] Debug: get token url.
[2023年 03月 01日 星期三 00:21:18 CST] GET
[2023年 03月 01日 星期三 00:21:18 CST] url='http://xxx(域名省去).com/.well-known/acme-challenge/LaeLbf8HLv4qUNib3EQjRDrAIKZlTkumkS1oHJi-Pko'
[2023年 03月 01日 星期三 00:21:18 CST] timeout=1
[2023年 03月 01日 星期三 00:21:18 CST] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g --connect-timeout 1'
[2023年 03月 01日 星期三 00:21:20 CST] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28