[GH-ISSUE #756] [Bug] 部署到阿里云边缘安全加速 ESA出错 #511

Closed
opened 2026-03-03 01:03:55 +03:00 by kerem · 12 comments
Owner

Originally created by @C018 on GitHub (Jun 3, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/756

软件版本 / Release Version

v0.3.15

缺陷描述 / Description

目前存在的问题:
1.域名解析提供商为阿里云ESA解析域名(NS接入ESA),部署时申请证书的环节会出错。
2.使用阿里云解析,不用ESA解析(CNAME接入ESA),部署到ESA会出错。
ps:日志为使用阿里云解析(CNAME接入ESA)时日志,反复折腾NS接入反复失败已经放弃。

复现步骤 / Steps to reproduce

直接执行

日志 / Logs

开始
[2025-06-03 16:11:41]
workflow is started
申请
[2025-06-03 16:11:41]
ready to obtain certificiate ...
[2025-06-03 16:11:41]
skip this application, because the certificate has already been issued (expires in 89 day(s), next renewal in 20 day(s))
部署
[2025-06-03 16:11:41]
ready to deploy certificate ...
[2025-06-03 16:11:41]
skip this deployment, because the certificate has already been deployed
部署
[2025-06-03 16:11:41]
ready to deploy certificate ...
[2025-06-03 16:11:41]
failed to deploy certificate
[2025-06-03 16:11:41]
config `siteId` is required

其他 / Miscellaneous

No response

贡献 / Contribution

  • 我乐意为此贡献代码! / I am interested in contributing to this issue!
Originally created by @C018 on GitHub (Jun 3, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/756 ### 软件版本 / Release Version v0.3.15 ### 缺陷描述 / Description 目前存在的问题: 1.域名解析提供商为阿里云ESA解析域名(NS接入ESA),部署时申请证书的环节会出错。 2.使用阿里云解析,不用ESA解析(CNAME接入ESA),部署到ESA会出错。 ps:日志为使用阿里云解析(CNAME接入ESA)时日志,反复折腾NS接入反复失败已经放弃。 ### 复现步骤 / Steps to reproduce 直接执行 ### 日志 / Logs <details> ```console 开始 [2025-06-03 16:11:41] workflow is started 申请 [2025-06-03 16:11:41] ready to obtain certificiate ... [2025-06-03 16:11:41] skip this application, because the certificate has already been issued (expires in 89 day(s), next renewal in 20 day(s)) 部署 [2025-06-03 16:11:41] ready to deploy certificate ... [2025-06-03 16:11:41] skip this deployment, because the certificate has already been deployed 部署 [2025-06-03 16:11:41] ready to deploy certificate ... [2025-06-03 16:11:41] failed to deploy certificate [2025-06-03 16:11:41] config `siteId` is required ``` </details> ### 其他 / Miscellaneous _No response_ ### 贡献 / Contribution - [ ] 我乐意为此贡献代码! / I am interested in contributing to this issue!
kerem 2026-03-03 01:03:55 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@fudiwei commented on GitHub (Jun 3, 2025):

错误日志呢?

<!-- gh-comment-id:2934683703 --> @fudiwei commented on GitHub (Jun 3, 2025): 错误日志呢?
Author
Owner

@C018 commented on GitHub (Jun 4, 2025):

错误日志呢?

config siteId is required

<!-- gh-comment-id:2938105818 --> @C018 commented on GitHub (Jun 4, 2025): > 错误日志呢? config `siteId` is required
Author
Owner

@C018 commented on GitHub (Jun 4, 2025):

错误日志呢?

config siteId is required

然后ns接入直接卡在ready to apply ...

<!-- gh-comment-id:2938107252 --> @C018 commented on GitHub (Jun 4, 2025): > > 错误日志呢? > > config `siteId` is required 然后ns接入直接卡在ready to apply ...
Author
Owner

@fudiwei commented on GitHub (Jun 5, 2025):

config siteId is required

所以你没填站点 ID?


然后ns接入直接卡在ready to apply ...

看下终端输出。

<!-- gh-comment-id:2943260321 --> @fudiwei commented on GitHub (Jun 5, 2025): > config `siteId` is required 所以你没填站点 ID? --- > 然后ns接入直接卡在ready to apply ... 看下终端输出。
Author
Owner

@C018 commented on GitHub (Jun 5, 2025):

config siteId is required

所以你没填站点 ID?

然后ns接入直接卡在ready to apply ...

看下终端输出。

填了的,但是还报这个。

<!-- gh-comment-id:2943438295 --> @C018 commented on GitHub (Jun 5, 2025): > > config `siteId` is required > > 所以你没填站点 ID? > > > 然后ns接入直接卡在ready to apply ... > > 看下终端输出。 填了的,但是还报这个。
Author
Owner

@C018 commented on GitHub (Jun 5, 2025):

日志 / Logs
详情

<!-- gh-comment-id:2943439397 --> @C018 commented on GitHub (Jun 5, 2025): 日志 / Logs 详情
Author
Owner

@C018 commented on GitHub (Jun 5, 2025):

你点上面这个就能看到

日志 / Logs 详情

<!-- gh-comment-id:2943440014 --> @C018 commented on GitHub (Jun 5, 2025): 你点上面这个就能看到 > 日志 / Logs 详情
Author
Owner

@fudiwei commented on GitHub (Jun 5, 2025):

填了的,但是还报这个。

截个图我看下。截全屏。


你点上面这个就能看到

日志 / Logs 详情

终端输出,不是web上的日志。如果你是用 docker 部署的,docker logs 命令看一下。

<!-- gh-comment-id:2943567501 --> @fudiwei commented on GitHub (Jun 5, 2025): > 填了的,但是还报这个。 截个图我看下。截全屏。 --- > 你点上面这个就能看到 > > > 日志 / Logs 详情 终端输出,不是web上的日志。如果你是用 docker 部署的,docker logs 命令看一下。
Author
Owner

@biliblihuorong commented on GitHub (Jun 13, 2025):

填了的,但是还报这个。

截个图我看下。截全屏。

你点上面这个就能看到

日志 / Logs 详情

终端输出,不是web上的日志。如果你是用 docker 部署的,docker logs 命令看一下。

我也遇到了这个问题,使用的是docker 部署 没有查询到容器日志。

root@c:~# docker logs certimate_server
2025/06/13 11:02:23 INFO [CERTIMATE] Visit the website: http://0.0.0.0:8090

web的日志也是和楼主一样

开始
[2025-06-13 11:02:34]
workflow is started
申请
[2025-06-13 11:02:34]
ready to obtain certificiate ...
[2025-06-13 11:02:34]
skip this application, because the certificate has already been issued (expires in 85 day(s), next renewal in 30 day(s))
部署
[2025-06-13 11:02:34]
ready to deploy certificate ...
[2025-06-13 11:02:34]
skip this deployment, because the certificate has already been deployed
部署
[2025-06-13 11:02:34]
ready to deploy certificate ...
[2025-06-13 11:02:34]
failed to deploy certificate
[2025-06-13 11:02:34]
config `siteId` is required
通知
[2025-06-13 11:02:34]
ready to send notification ...
[2025-06-13 11:02:36]
notification completed

站点id我填写了,但我使用的是国际版的阿里云ESA

<!-- gh-comment-id:2968845917 --> @biliblihuorong commented on GitHub (Jun 13, 2025): > > 填了的,但是还报这个。 > > 截个图我看下。截全屏。 > > > 你点上面这个就能看到 > > > 日志 / Logs 详情 > > 终端输出,不是web上的日志。如果你是用 docker 部署的,docker logs 命令看一下。 我也遇到了这个问题,使用的是docker 部署 没有查询到容器日志。 ```log root@c:~# docker logs certimate_server 2025/06/13 11:02:23 INFO [CERTIMATE] Visit the website: http://0.0.0.0:8090 ``` web的日志也是和楼主一样 ```log 开始 [2025-06-13 11:02:34] workflow is started 申请 [2025-06-13 11:02:34] ready to obtain certificiate ... [2025-06-13 11:02:34] skip this application, because the certificate has already been issued (expires in 85 day(s), next renewal in 30 day(s)) 部署 [2025-06-13 11:02:34] ready to deploy certificate ... [2025-06-13 11:02:34] skip this deployment, because the certificate has already been deployed 部署 [2025-06-13 11:02:34] ready to deploy certificate ... [2025-06-13 11:02:34] failed to deploy certificate [2025-06-13 11:02:34] config `siteId` is required 通知 [2025-06-13 11:02:34] ready to send notification ... [2025-06-13 11:02:36] notification completed ``` 站点id我填写了,但我使用的是国际版的阿里云ESA
Author
Owner

@cao-gift commented on GitHub (Jun 15, 2025):

一样的报错,我也是国际版的阿里云ESA

<!-- gh-comment-id:2973800902 --> @cao-gift commented on GitHub (Jun 15, 2025): 一样的报错,我也是国际版的阿里云ESA
Author
Owner

@fudiwei commented on GitHub (Jun 15, 2025):

@biliblihuorong @cao-gift

v0.3.17 执行一次,日志里 "ready to deploy certificate ..." 这条应该有个展开箭头,展开看下 config 的值是什么?

<!-- gh-comment-id:2973820084 --> @fudiwei commented on GitHub (Jun 15, 2025): @biliblihuorong @cao-gift v0.3.17 执行一次,日志里 "ready to deploy certificate ..." 这条应该有个展开箭头,展开看下 config 的值是什么?
Author
Owner

@cao-gift commented on GitHub (Jun 15, 2025):

Image

Image

<!-- gh-comment-id:2973917238 --> @cao-gift commented on GitHub (Jun 15, 2025): ![Image](https://github.com/user-attachments/assets/59a90046-1b3f-48ef-929e-95c40067db4d) ![Image](https://github.com/user-attachments/assets/47718f9c-90e9-4c7e-b3dc-2c9002e18c5a)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#511
No description provided.