[GH-ISSUE #841] [Bug] 阿里云CLB部署证书提示上传的证书找不到 #570

Closed
opened 2026-03-03 01:04:23 +03:00 by kerem · 0 comments
Owner

Originally created by @Meteor-showers on GitHub (Jul 1, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/841

软件版本 / Release Version

v0.3.20

缺陷描述 / Description

clb证书上传没有根据我clb的区域上传所在区 而是默认上传到杭州了

复现步骤 / Steps to reproduce

创建clb
地区选北京
开始部署
证书会传到杭州控制台
部署证书报错404

日志 / Logs

[2025-07-01 11:07:05]
ready to deploy certificate ...
config:
{"certificate":"z7XZWulW4FajYOIoWnXKN#certificate","provider":"aliyun-clb","providerAccessId":"9503r06","providerConfig":{"domain":"","loadbalancerId":"lb-2zez","region":"cn-beijing","resourceType":"loadbalancer"},"skipOnLastSucceeded":true}
这里我写的区域是北京 但下面的接口都走的杭州接口了
[2025-07-01 11:07:05]
sdk request 'slb.DescribeServerCertificates'
request:
{"RegionId":"cn-hangzhou"}

[2025-07-01 11:07:06]
sdk request 'slb.UploadServerCertificate'
request:
{"PrivateKey":"-----BEGIN RSA PRIVATE KEY-----


-----END RSA PRIVATE KEY-----",
"RegionId":"cn-hangzhou",
报错
failed to execute sdk request 'slb.SetLoadBalancerHTTPSListenerAttribute': SDKError: StatusCode: 404 Code: ServerCertificateId.NotFound Message: code: 404, The specified ServerCertificateId does not exist. request id: 8C873726-7C0C-5DCB2096C Data: {"Code":"ServerCertificateId.NotFound","HostId":"slb.cn-beijing.aliyuncs.com","Message":"The specified ServerCertificateId does not exist.","Recommend":"https://api.aliyun.com/troubleshoot?q=ServerCertificateId.NotFound&product=Slb&requestId=8C873726-7C0C-5DCB2096C","RequestId":"8C873726-7C0C-5DCB2096C"}

其他 / Miscellaneous

No response

贡献 / Contribution

  • 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
Originally created by @Meteor-showers on GitHub (Jul 1, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/841 ### 软件版本 / Release Version v0.3.20 ### 缺陷描述 / Description clb证书上传没有根据我clb的区域上传所在区 而是默认上传到杭州了 ### 复现步骤 / Steps to reproduce 创建clb 地区选北京 开始部署 证书会传到杭州控制台 部署证书报错404 ### 日志 / Logs <details> ```console [2025-07-01 11:07:05] ready to deploy certificate ... config: {"certificate":"z7XZWulW4FajYOIoWnXKN#certificate","provider":"aliyun-clb","providerAccessId":"9503r06","providerConfig":{"domain":"","loadbalancerId":"lb-2zez","region":"cn-beijing","resourceType":"loadbalancer"},"skipOnLastSucceeded":true} 这里我写的区域是北京 但下面的接口都走的杭州接口了 [2025-07-01 11:07:05] sdk request 'slb.DescribeServerCertificates' request: {"RegionId":"cn-hangzhou"} ``` [2025-07-01 11:07:06] sdk request 'slb.UploadServerCertificate' request: {"PrivateKey":"-----BEGIN RSA PRIVATE KEY----- ****** -----END RSA PRIVATE KEY-----", "RegionId":"cn-hangzhou", 报错 failed to execute sdk request 'slb.SetLoadBalancerHTTPSListenerAttribute': SDKError: StatusCode: 404 Code: ServerCertificateId.NotFound Message: code: 404, The specified ServerCertificateId does not exist. request id: 8C873726-7C0C-5DCB2096C Data: {"Code":"ServerCertificateId.NotFound","HostId":"slb.cn-beijing.aliyuncs.com","Message":"The specified ServerCertificateId does not exist.","Recommend":"https://api.aliyun.com/troubleshoot?q=ServerCertificateId.NotFound&product=Slb&requestId=8C873726-7C0C-5DCB2096C","RequestId":"8C873726-7C0C-5DCB2096C"} </details> ### 其他 / Miscellaneous _No response_ ### 贡献 / Contribution - [ ] 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
kerem 2026-03-03 01:04:23 +03:00
  • closed this issue
  • added the
    bug
    label
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#570
No description provided.