[GH-ISSUE #542] 应用型负载均衡 ALB添加ALB 扩展域名报错 #350

Closed
opened 2026-03-03 01:02:38 +03:00 by kerem · 5 comments
Owner

Originally created by @ChinaParrot on GitHub (Mar 21, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/542

描述问题
应用型负载均衡 ALB添加ALB 扩展域名报错,不添加ALB 扩展域名会替换默认,不是我想要的。

报错信息:

Image

负载均衡证书:
Image

部署配置:

Image

Originally created by @ChinaParrot on GitHub (Mar 21, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/542 **描述问题** 应用型负载均衡 ALB添加ALB 扩展域名报错,不添加ALB 扩展域名会替换默认,不是我想要的。 报错信息: ![Image](https://github.com/user-attachments/assets/7cb71d0d-2f58-45eb-8606-6cf84df6b417) 负载均衡证书: ![Image](https://github.com/user-attachments/assets/b7e716dc-bdf4-4778-9159-daf6d4ee7163) 部署配置: ![Image](https://github.com/user-attachments/assets/9f3df202-fb43-4ad1-b703-9d318eb34c1b)
kerem 2026-03-03 01:02:38 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@fudiwei commented on GitHub (Mar 21, 2025):

https://api.aliyun.com/api/Alb/2020-06-16/ListListenerCertificates

麻烦把你的参数填进去,看一下响应里的证书 ID 到底是哪儿的证书 ID 😕

文档里写的是 CAS 数字证书管理服务,但从截图看起来应该是来自 SLB 负载均衡服务。所以给我搞糊涂了,到底应该把证书上传到 CAS 还是 SLB。

<!-- gh-comment-id:2742768186 --> @fudiwei commented on GitHub (Mar 21, 2025): https://api.aliyun.com/api/Alb/2020-06-16/ListListenerCertificates 麻烦把你的参数填进去,看一下响应里的证书 ID 到底是哪儿的证书 ID 😕 文档里写的是 [CAS 数字证书管理](https://help.aliyun.com/zh/slb/application-load-balancer/user-guide/manage-certificates)服务,但从截图看起来应该是来自 SLB 负载均衡服务。所以给我搞糊涂了,到底应该把证书上传到 CAS 还是 SLB。
Author
Owner

@ChinaParrot commented on GitHub (Mar 21, 2025):

https://api.aliyun.com/api/Alb/2020-06-16/ListListenerCertificates

麻烦把你的参数填进去,看一下响应里的证书 ID 到底是哪儿的证书 ID 😕

文档里写的是 CAS 数字证书管理服务,但从截图看起来应该是来自 SLB 负载均衡服务。所以给我搞糊涂了,到底应该把证书上传到 CAS 还是 SLB。

把证书上传到SLB

<!-- gh-comment-id:2742813723 --> @ChinaParrot commented on GitHub (Mar 21, 2025): > https://api.aliyun.com/api/Alb/2020-06-16/ListListenerCertificates > > 麻烦把你的参数填进去,看一下响应里的证书 ID 到底是哪儿的证书 ID 😕 > > 文档里写的是 [CAS 数字证书管理](https://help.aliyun.com/zh/slb/application-load-balancer/user-guide/manage-certificates)服务,但从截图看起来应该是来自 SLB 负载均衡服务。所以给我搞糊涂了,到底应该把证书上传到 CAS 还是 SLB。 把证书上传到SLB
Author
Owner

@fudiwei commented on GitHub (Mar 21, 2025):

https://api.aliyun.com/api/Alb/2020-06-16/GetListenerAttribute

再看下,默认证书的 ID 是 CAS 的 ID?

<!-- gh-comment-id:2742820696 --> @fudiwei commented on GitHub (Mar 21, 2025): https://api.aliyun.com/api/Alb/2020-06-16/GetListenerAttribute 再看下,默认证书的 ID 是 CAS 的 ID?
Author
Owner

@ChinaParrot commented on GitHub (Mar 21, 2025):

https://api.aliyun.com/api/Alb/2020-06-16/GetListenerAttribute

再看下,默认证书的 ID 是 CAS 的 ID?

我不太懂,ListenerId 填入什么?

<!-- gh-comment-id:2742866768 --> @ChinaParrot commented on GitHub (Mar 21, 2025): > https://api.aliyun.com/api/Alb/2020-06-16/GetListenerAttribute > > 再看下,默认证书的 ID 是 CAS 的 ID? 我不太懂,ListenerId 填入什么?
Author
Owner

@fudiwei commented on GitHub (Mar 21, 2025):

我不太懂,ListenerId 填入什么?

你的 ALB 监听器 ID。


你现在用 Certimate 是能替换默认证书的对吧?现在代码实现是上传到 CAS。所以我理解为默认证书需要上传到 CAS,扩展域名证书需要上传到 SLB?

<!-- gh-comment-id:2742903819 --> @fudiwei commented on GitHub (Mar 21, 2025): > 我不太懂,ListenerId 填入什么? 你的 ALB 监听器 ID。 --- 你现在用 Certimate 是能替换默认证书的对吧?现在代码实现是上传到 CAS。所以我理解为默认证书需要上传到 CAS,扩展域名证书需要上传到 SLB?
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#350
No description provided.