Skip to content

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

@Meteor-showers

Description

@Meteor-showers

软件版本 / 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions