[GH-ISSUE #595] [Bug] Gcorelabs 更新证书失败 #394

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

Originally created by @Masterain98 on GitHub (Apr 7, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/595

软件版本 / Release Version

0.3.7

缺陷描述 / Description

Image

在申请证书成功后,Certimate 成功在 Gcorelabs 上传证书,但更新 CDN 资源时失败,显示错误 failed to execute sdk request 'resources.Update': request: { "proxy_ssl_ca": [ "Invalid pk \"0\" - object does not exist." ], "proxy_ssl_data": [ "Invalid pk \"0\" - object does not exist." ] }

查了下 API 文档,示例中proxy_ssl_caproxy_ssl_data 的值为 null,不知道是否相关。

复现步骤 / Steps to reproduce

  1. 设置 Gcorelabs API Key
  2. 设置更新 CDN 资源证书

日志 / Logs

failed to execute sdk request 'resources.Update': request: { "proxy_ssl_ca": [ "Invalid pk \"0\" - object does not exist." ], "proxy_ssl_data": [ "Invalid pk \"0\" - object does not exist." ] }

其他 / Miscellaneous

No response

Originally created by @Masterain98 on GitHub (Apr 7, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/595 ### 软件版本 / Release Version 0.3.7 ### 缺陷描述 / Description ![Image](https://github.com/user-attachments/assets/23f333c0-092d-47ef-964c-41a0dd897f21) 在申请证书成功后,Certimate 成功在 Gcorelabs 上传证书,但更新 CDN 资源时失败,显示错误 `failed to execute sdk request 'resources.Update': request: { "proxy_ssl_ca": [ "Invalid pk \"0\" - object does not exist." ], "proxy_ssl_data": [ "Invalid pk \"0\" - object does not exist." ] }` 查了下 [API 文档](https://api.gcore.com/docs/cdn#tag/CDN-resources/operation/change_cdn_resource),示例中`proxy_ssl_ca` 和 `proxy_ssl_data` 的值为 `null`,不知道是否相关。 ### 复现步骤 / Steps to reproduce 1. 设置 Gcorelabs API Key 2. 设置更新 CDN 资源证书 ### 日志 / Logs <details> `failed to execute sdk request 'resources.Update': request: { "proxy_ssl_ca": [ "Invalid pk \"0\" - object does not exist." ], "proxy_ssl_data": [ "Invalid pk \"0\" - object does not exist." ] }` </details> ### 其他 / Miscellaneous _No response_
kerem 2026-03-03 01:03:00 +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#394
No description provided.