mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #542] 应用型负载均衡 ALB添加ALB 扩展域名报错 #350
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#350
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ChinaParrot on GitHub (Mar 21, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/542
描述问题
应用型负载均衡 ALB添加ALB 扩展域名报错,不添加ALB 扩展域名会替换默认,不是我想要的。
报错信息:
负载均衡证书:

部署配置:
@fudiwei commented on GitHub (Mar 21, 2025):
https://api.aliyun.com/api/Alb/2020-06-16/ListListenerCertificates
麻烦把你的参数填进去,看一下响应里的证书 ID 到底是哪儿的证书 ID 😕
文档里写的是 CAS 数字证书管理服务,但从截图看起来应该是来自 SLB 负载均衡服务。所以给我搞糊涂了,到底应该把证书上传到 CAS 还是 SLB。
@ChinaParrot commented on GitHub (Mar 21, 2025):
把证书上传到SLB
@fudiwei commented on GitHub (Mar 21, 2025):
https://api.aliyun.com/api/Alb/2020-06-16/GetListenerAttribute
再看下,默认证书的 ID 是 CAS 的 ID?
@ChinaParrot commented on GitHub (Mar 21, 2025):
我不太懂,ListenerId 填入什么?
@fudiwei commented on GitHub (Mar 21, 2025):
你的 ALB 监听器 ID。
你现在用 Certimate 是能替换默认证书的对吧?现在代码实现是上传到 CAS。所以我理解为默认证书需要上传到 CAS,扩展域名证书需要上传到 SLB?