[GH-ISSUE #875] [Bug] win 宝塔部署证书错误 linux没问题 #594

Closed
opened 2026-03-03 01:04:33 +03:00 by kerem · 6 comments
Owner

Originally created by @moxuexue on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/875

软件版本 / Release Version

v0.3.23

缺陷描述 / Description

[2025-07-16 16:55:05]failed to deploy certificate
[2025-07-16 16:55:05]failed to execute sdk request 'bt.SiteSetSSL': sdkerr: unexpected status code: 502, resp:

具体错误提示 8个站点 全部失败 另外linux的宝塔没问题

复现步骤 / Steps to reproduce

win宝塔部署复现

日志 / Logs

# 请在此粘贴日志 / Paste logs here

其他 / Miscellaneous

No response

贡献 / Contribution

  • 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
Originally created by @moxuexue on GitHub (Jul 16, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/875 ### 软件版本 / Release Version v0.3.23 ### 缺陷描述 / Description [2025-07-16 16:55:05]failed to deploy certificate [2025-07-16 16:55:05]failed to execute sdk request 'bt.SiteSetSSL': sdkerr: unexpected status code: 502, resp: 具体错误提示 8个站点 全部失败 另外linux的宝塔没问题 ### 复现步骤 / Steps to reproduce win宝塔部署复现 ### 日志 / Logs <details> ```console # 请在此粘贴日志 / Paste logs here ``` </details> ### 其他 / Miscellaneous _No response_ ### 贡献 / Contribution - [ ] 我乐意为此贡献 PR! / I am interested in contributing a PR for this!
kerem 2026-03-03 01:04:33 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@moxuexue commented on GitHub (Jul 16, 2025):

面板实际没有502呢..

<!-- gh-comment-id:3077642015 --> @moxuexue commented on GitHub (Jul 16, 2025): 面板实际没有502呢..
Author
Owner

@fudiwei commented on GitHub (Jul 16, 2025):

在 Certimate 所在的主机上通过 curl 访问宝塔 API 看看返回的是什么?

curl -X POST <your-baota-server>/ssl/cert/save_cert

P.S. 如果 Certimate 是通过 Docker 部署的,进入容器内再测试。

<!-- gh-comment-id:3078347130 --> @fudiwei commented on GitHub (Jul 16, 2025): 在 Certimate 所在的主机上通过 curl 访问宝塔 API 看看返回的是什么? ```shell curl -X POST <your-baota-server>/ssl/cert/save_cert ``` P.S. 如果 Certimate 是通过 Docker 部署的,进入容器内再测试。
Author
Owner

@moxuexue commented on GitHub (Jul 16, 2025):

在 Certimate 所在的主机上通过 curl 访问宝塔 API 看看返回的是什么?

curl -X POST /ssl/cert/save_cert
P.S. 如果 Certimate 是通过 Docker 部署的,进入容器内再测试。

Image
开始没有curl 安装后 执行了 然后啥也没返回呢?

<!-- gh-comment-id:3078433558 --> @moxuexue commented on GitHub (Jul 16, 2025): > 在 Certimate 所在的主机上通过 curl 访问宝塔 API 看看返回的是什么? > > curl -X POST <your-baota-server>/ssl/cert/save_cert > P.S. 如果 Certimate 是通过 Docker 部署的,进入容器内再测试。 ![Image](https://github.com/user-attachments/assets/7d5963e3-c4f2-4537-91e4-82d2ad4b1813) 开始没有curl 安装后 执行了 然后啥也没返回呢?
Author
Owner

@moxuexue commented on GitHub (Jul 16, 2025):

在 Certimate 所在的主机上通过 curl 访问宝塔 API 看看返回的是什么?

curl -X POST /ssl/cert/save_cert
P.S. 如果 Certimate 是通过 Docker 部署的,进入容器内再测试。

我在本地cmd执行 提示
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_REVOCATION_OFFLINE (0x80092013) - 由于吊销服务器已脱机,吊销功能无法检查吊销。
这是哪里的证书出问题了? 宝塔的我看没过期呢.

<!-- gh-comment-id:3078446965 --> @moxuexue commented on GitHub (Jul 16, 2025): > 在 Certimate 所在的主机上通过 curl 访问宝塔 API 看看返回的是什么? > > curl -X POST <your-baota-server>/ssl/cert/save_cert > P.S. 如果 Certimate 是通过 Docker 部署的,进入容器内再测试。 我在本地cmd执行 提示 curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_REVOCATION_OFFLINE (0x80092013) - 由于吊销服务器已脱机,吊销功能无法检查吊销。 这是哪里的证书出问题了? 宝塔的我看没过期呢.
Author
Owner

@fudiwei commented on GitHub (Jul 16, 2025):

Image 开始没有curl 安装后 执行了 然后啥也没返回呢?

增加一个 -v 参数打印下详细报文看看

<!-- gh-comment-id:3078525195 --> @fudiwei commented on GitHub (Jul 16, 2025): > ![Image](https://github.com/user-attachments/assets/7d5963e3-c4f2-4537-91e4-82d2ad4b1813) 开始没有curl 安装后 执行了 然后啥也没返回呢? 增加一个 `-v` 参数打印下详细报文看看
Author
Owner

@moxuexue commented on GitHub (Jul 16, 2025):

Image 开始没有curl 安装后 执行了 然后啥也没返回呢?

增加一个 -v 参数打印下详细报文看看

搞定了 我的哥 我的问题 在授权 提供商那里 我宝塔地址填的http 实际是我上了https...忘记修改了 感谢!

<!-- gh-comment-id:3078737707 --> @moxuexue commented on GitHub (Jul 16, 2025): > > ![Image](https://github.com/user-attachments/assets/7d5963e3-c4f2-4537-91e4-82d2ad4b1813) 开始没有curl 安装后 执行了 然后啥也没返回呢? > > 增加一个 `-v` 参数打印下详细报文看看 搞定了 我的哥 我的问题 在授权 提供商那里 我宝塔地址填的http 实际是我上了https...忘记修改了 感谢!
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#594
No description provided.