安装Trojan时,报错“Can not resolve _eab_id”

在安装trojan时需要在get.acme.sh上申请证书,使用一键脚本时,一直报错

[2024年 05月 12日 星期日 10:00:46 EDT] No EAB credentials found for ZeroSSL, let's get one
[2024年 05月 12日 星期日 10:00:46 EDT] POST
[2024年 05月 12日 星期日 10:00:46 EDT] _post_url='https://api.zerossl.com/acme/eab-credentials-email' 
[2024年 05月 12日 星期日 10:00:46 EDT] body='email=test@********。16clouds.com'
[2024年 05月 12日 星期日 10:00:46 EDT] _postContentType
[2024年 05月 12日 星期日 10:00:46 EDT] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  -g '
[2024年 05月 12日 星期日 10:00:47 EDT] _ret='0'
[2024年 05月 12日 星期日 10:00:47 EDT] _eabresp='[hidden](please add '--output-insecure' to see this value)'
[2024年 05月 12日 星期日 10:00:47 EDT] _eab_id='[hidden](please add '--output-insecure' to see this value)'
[2024年 05月 12日 星期日 10:00:47 EDT] Can not resolve _eab_id
[2024年 05月 12日 星期日 10:00:47 EDT] _on_issue_err
[2024年 05月 12日 星期日 10:00:47 EDT] Please check log file for more details: /root/.acme.sh/acme.sh.log
[2024年 05月 12日 星期日 10:00:47 EDT] _chk_vlist

这里的eab值的是email地址

打开--output-insecure,--log 选项,看到更详细的报错后得知:

如果sh脚本没有指定accountconf文件,则会自动生成一个email地址,用作调用网站API时使用的email地址。

可以看到系统自动生成email=test@*********。16clouds.com'格式错误。(使用的是中文的句号)

所以,需要删除所有缓存,“rm -rf ~/.acme.sh”手动生成对应证书,在指令上添加 - - email 选项,以下为执行成功的日志

[root@144 .acme.sh]# ~/.acme.sh/acme.sh  --issue  -d *******.16clouds.com --log --output-insecure --email test@*******.16clouds.com --webroot /usr/share/nginx/html/
[2024年 05月 12日 星期日 10:22:42 EDT] Using CA: https://acme.zerossl.com/v2/DV90
[2024年 05月 12日 星期日 10:22:42 EDT] No EAB credentials found for ZeroSSL, let's get one
[2024年 05月 12日 星期日 10:22:43 EDT] Registering account: https://acme.zerossl.com/v2/DV90
[2024年 05月 12日 星期日 10:22:45 EDT] Registered
[2024年 05月 12日 星期日 10:22:45 EDT] ACCOUNT_THUMBPRINT='f-fv4FW2PCCtN4Dz8br1as1MZTFZroWwwdHVwyjd7e8'
[2024年 05月 12日 星期日 10:22:45 EDT] Creating domain key
[2024年 05月 12日 星期日 10:22:45 EDT] The domain key is here: /root/.acme.sh/*******.16clouds.com_ecc/*******.16clouds.com.key
[2024年 05月 12日 星期日 10:22:45 EDT] Single domain='*******.16clouds.com'
[2024年 05月 12日 星期日 10:22:47 EDT] Getting webroot for domain='*******.16clouds.com'
[2024年 05月 12日 星期日 10:22:47 EDT] Verifying: *******.16clouds.com
[2024年 05月 12日 星期日 10:22:48 EDT] Processing, The CA is processing your order, please just wait. (1/30)
[2024年 05月 12日 星期日 10:22:52 EDT] Success
[2024年 05月 12日 星期日 10:22:52 EDT] Verify finished, start to sign.
[2024年 05月 12日 星期日 10:22:52 EDT] Lets finalize the order.
[2024年 05月 12日 星期日 10:22:52 EDT] Le_OrderFinalize='https://acme.zerossl.com/v2/DV90/order/2iuoye8KRGaCS9Q-Uap9Xw/finalize'
[2024年 05月 12日 星期日 10:22:53 EDT] Order status is processing, lets sleep and retry.
[2024年 05月 12日 星期日 10:22:53 EDT] Retry after: 15
[2024年 05月 12日 星期日 10:23:09 EDT] Polling order status: https://acme.zerossl.com/v2/DV90/order/2iuoye8KRGaCS9Q-Uap9Xw
[2024年 05月 12日 星期日 10:23:10 EDT] Downloading cert.
[2024年 05月 12日 星期日 10:23:10 EDT] Le_LinkCert='https://acme.zerossl.com/v2/DV90/cert/htXB03Kuj0lSaF9f7GTydA'
[2024年 05月 12日 星期日 10:23:11 EDT] Cert success.

[2024年 05月 12日 星期日 10:23:11 EDT] Your cert is in: /root/.acme.sh/*******.16clouds.com_ecc/*******.16clouds.com.cer
[2024年 05月 12日 星期日 10:23:11 EDT] Your cert key is in: /root/.acme.sh/*******.16clouds.com_ecc/*******.16clouds.com.key
[2024年 05月 12日 星期日 10:23:11 EDT] The intermediate CA cert is in: /root/.acme.sh/*******.16clouds.com_ecc/ca.cer
[2024年 05月 12日 星期日 10:23:11 EDT] And the full chain certs is there: /root/.acme.sh/*******.16clouds.com_ecc/fullchain.cer

  • 7
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值