You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.
Steps to reproduce
我有2个七牛云的 CDN 域名 qiniu.example.com,qiniu2.example.com 使用以下几种命令生成的泛域名证书都部署失败(可以上传,无法部署)
尝试过的变量有:
尝试过的部署命令
报错信息:
奇怪的是指定变量是
export QINIU_CDN_DOMAIN=".qiniu2.example.com"
时,报错信息仍然为Error in updating domain .qiniu.example.com httpsconf
只有非泛域名证书可以成功部署
Debug log
当变量为 export QINIU_CDN_DOMAIN=".qiniu.example.com" 的时候,使用 acme.sh --deploy -d example.com --deploy-hook qiniu --debug 2 命令时的输出内容如下:
~/.acme.sh # acme.sh --deploy -d example.com --deploy-hook qiniu --debug 2
[Sat Oct 12 15:33:21 CST 2024] Let's find the script directory.
[Sat Oct 12 15:33:21 CST 2024] SCRIPT='/root/.acme.sh/acme.sh'
[Sat Oct 12 15:33:21 CST 2024] _script='/root/.acme.sh/acme.sh'
[Sat Oct 12 15:33:21 CST 2024] _script_home='/root/.acme.sh'
[Sat Oct 12 15:33:21 CST 2024] Using default home: /root/.acme.sh
[Sat Oct 12 15:33:21 CST 2024] Using config home: /root/.acme.sh
[Sat Oct 12 15:33:21 CST 2024] LE_WORKING_DIR='/root/.acme.sh'
https://github.com/acmesh-official/acme.sh
v3.1.0
[Sat Oct 12 15:33:21 CST 2024] Running cmd: deploy
[Sat Oct 12 15:33:21 CST 2024] Using config home: /root/.acme.sh
[Sat Oct 12 15:33:21 CST 2024] default_acme_server
[Sat Oct 12 15:33:21 CST 2024] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
[Sat Oct 12 15:33:21 CST 2024] _ACME_SERVER_HOST='acme.zerossl.com'
[Sat Oct 12 15:33:21 CST 2024] _ACME_SERVER_PATH='v2/DV90'
[Sat Oct 12 15:33:21 CST 2024] The domain 'example.com' seems to already have an ECC cert, let's use it.
[Sat Oct 12 15:33:21 CST 2024] DOMAIN_PATH='/root/.acme.sh/example.com_ecc'
[Sat Oct 12 15:33:21 CST 2024] DOMAIN_CONF='/root/.acme.sh/example.com_ecc/example.com.conf'
[Sat Oct 12 15:33:21 CST 2024] _deployApi='/root/.acme.sh/deploy/qiniu.sh'
[Sat Oct 12 15:33:21 CST 2024] _cdomain='example.com'
[Sat Oct 12 15:33:21 CST 2024] _ckey='/root/.acme.sh/example.com_ecc/example.com.key'
[Sat Oct 12 15:33:21 CST 2024] _ccert='/root/.acme.sh/example.com_ecc/example.com.cer'
[Sat Oct 12 15:33:21 CST 2024] _cca='/root/.acme.sh/example.com_ecc/ca.cer'
[Sat Oct 12 15:33:21 CST 2024] _cfullchain='/root/.acme.sh/example.com_ecc/fullchain.cer'
[Sat Oct 12 15:33:21 CST 2024] sslcert_access_token='VPA4Kq4LL3-6bO7ELb8RFErRwjUwPx7vdnN0pJks:V9bCVWNyK0VLumrYwz9o7VWVufc='
[Sat Oct 12 15:33:21 CST 2024] POST
[Sat Oct 12 15:33:21 CST 2024] _post_url='https://api.qiniu.com/sslcert'
[Sat Oct 12 15:33:21 CST 2024] body='{"name":"example.com","common_name":".qiniu.example.com .qiniu2.example.com","ca":"-----BEGIN CERTIFICATE-----\nMIID/\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n***\n**\n**\n**\n-----END CERTIFICATE-----\n","pri":"-----BEGIN EC PRIVATE KEY-----\n*************\n-----END EC PRIVATE KEY-----\n"}'
[Sat Oct 12 15:33:21 CST 2024] _postContentType='application/json'
[Sat Oct 12 15:33:21 CST 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L --trace-ascii /tmp/tmp.CLgiHn -g '
[Sat Oct 12 15:33:21 CST 2024] _ret='0'
[Sat Oct 12 15:33:21 CST 2024] sslcert_response='{"code":200,"error":"","certID":"670a264109bd35461fdacfa5"}'
[Sat Oct 12 15:33:21 CST 2024] Certificate successfully uploaded, updating domain example.com
[Sat Oct 12 15:33:21 CST 2024] certId='"670a264109bd35461fdacfa5"'
[Sat Oct 12 15:33:21 CST 2024] update_access_token='VPA4Kq4LL3-6bO7ELb8RFErRwjUwPx7vdnN0pJks:R-9q6LELC7iKsHIPqY_K1gii9ks='
[Sat Oct 12 15:33:21 CST 2024] PUT
[Sat Oct 12 15:33:21 CST 2024] _post_url='https://api.qiniu.com/domain/.qiniu.example.com/httpsconf'
[Sat Oct 12 15:33:21 CST 2024] body='{"certid":"670a264109bd35461fdacfa5","forceHttps":false}'
[Sat Oct 12 15:33:21 CST 2024] _postContentType='application/json'
[Sat Oct 12 15:33:21 CST 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L --trace-ascii /tmp/tmp.jpkFDD -g '
[Sat Oct 12 15:33:21 CST 2024] _ret='0'
[Sat Oct 12 15:33:21 CST 2024] Error in updating domain .qiniu.example.com httpsconf:
[Sat Oct 12 15:33:21 CST 2024] {"code":612,"error":"no such domain"}
[Sat Oct 12 15:33:21 CST 2024] Error deploying for domain: example.com
[Sat Oct 12 15:33:21 CST 2024] Error encountered while deploying.
The text was updated successfully, but these errors were encountered: