[GH-ISSUE #731] [Bug] 堡塔云WAF部署ssl时报错 #493

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

Originally created by @1355228922 on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/731

软件版本 / Release Version

v0.3.14

缺陷描述 / Description

Image

Image

Image

Image

Image

复现步骤 / Steps to reproduce

1、我的堡塔云WAF是在本地搭建的,用了堡塔云WAF反代对外。
2、已经能正常作用的。
3、在Certimate部署证书时无效报错。
4、其它网站的ssl端口不是443,比如内网自用的和群晖的。
5、部署时出现404错误。
6、我也试过用waf内网地址的提供商也是出错。

日志 / Logs

已失败
开始
[2025-05-28 09:38:23]
ready to start ...
申请证书
[2025-05-28 09:38:23]
ready to apply ...
[2025-05-28 09:38:23]
skip this application, because the certificate has already been issued (expires in 89d, next renewal in 30d)
部署证书
[2025-05-28 09:38:23]
ready to deploy ...
[2025-05-28 09:38:23]
sdk request 'bt.ConfigSetSSL'
[2025-05-28 09:38:23]
failed to deploy
[2025-05-28 09:38:23]
failed to execute sdk request 'bt.ConfigSetSSL': baota api error: unexpected status code: 404, resp: <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> </body> </html>
若前序节点执行失败…
[2025-05-28 09:38:23]
the previous node execution was failed
推送通知
[2025-05-28 09:38:23]
ready to notify ...
[2025-05-28 09:38:24]
webhook responded

其他 / Miscellaneous

No response

贡献 / Contribution

  • 我乐意为此贡献代码! / I am interested in contributing to this issue!
Originally created by @1355228922 on GitHub (May 28, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/731 ### 软件版本 / Release Version v0.3.14 ### 缺陷描述 / Description ![Image](https://github.com/user-attachments/assets/e6ac3ab1-acba-4fb5-b85c-9f43748d2a61) ![Image](https://github.com/user-attachments/assets/1bd763a0-1cc0-48fa-a7c8-eb470172d000) ![Image](https://github.com/user-attachments/assets/3f10680f-d4e4-43aa-8980-8a3e58fe1d24) ![Image](https://github.com/user-attachments/assets/6a652802-6220-4aa6-bda3-27e0693ed671) ![Image](https://github.com/user-attachments/assets/d907ba92-1c3c-4653-90b2-6f0a30d3603e) ### 复现步骤 / Steps to reproduce 1、我的堡塔云WAF是在本地搭建的,用了堡塔云WAF反代对外。 2、已经能正常作用的。 3、在Certimate部署证书时无效报错。 4、其它网站的ssl端口不是443,比如内网自用的和群晖的。 5、部署时出现404错误。 6、我也试过用waf内网地址的提供商也是出错。 ### 日志 / Logs <details> ```console 已失败 开始 [2025-05-28 09:38:23] ready to start ... 申请证书 [2025-05-28 09:38:23] ready to apply ... [2025-05-28 09:38:23] skip this application, because the certificate has already been issued (expires in 89d, next renewal in 30d) 部署证书 [2025-05-28 09:38:23] ready to deploy ... [2025-05-28 09:38:23] sdk request 'bt.ConfigSetSSL' [2025-05-28 09:38:23] failed to deploy [2025-05-28 09:38:23] failed to execute sdk request 'bt.ConfigSetSSL': baota api error: unexpected status code: 404, resp: <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> </body> </html> 若前序节点执行失败… [2025-05-28 09:38:23] the previous node execution was failed 推送通知 [2025-05-28 09:38:23] ready to notify ... [2025-05-28 09:38:24] webhook responded ``` </details> ### 其他 / Miscellaneous _No response_ ### 贡献 / Contribution - [x] 我乐意为此贡献代码! / I am interested in contributing to this issue!
kerem 2026-03-03 01:03:46 +03:00
  • closed this issue
  • added the
    bug
    stale
    labels
Author
Owner

@fudiwei commented on GitHub (May 28, 2025):

Image

你填的服务地址为啥要有这么个结尾?

<!-- gh-comment-id:2914788718 --> @fudiwei commented on GitHub (May 28, 2025): > ![Image](https://github.com/user-attachments/assets/ea32d435-88da-4305-9245-dd20ba8ba3d0) 你填的服务地址为啥要有这么个结尾?
Author
Owner

@1355228922 commented on GitHub (May 28, 2025):

Image

你填的服务地址为啥要有这么个结尾?

我在没有结尾时一样出错,以为需要加个结尾的。在没有这个时是已经无法用噢,都是无法使用的。请帮我看看怎么回事

<!-- gh-comment-id:2914947139 --> @1355228922 commented on GitHub (May 28, 2025): > > ![Image](https://github.com/user-attachments/assets/ea32d435-88da-4305-9245-dd20ba8ba3d0) > > 你填的服务地址为啥要有这么个结尾? 我在没有结尾时一样出错,以为需要加个结尾的。在没有这个时是已经无法用噢,都是无法使用的。请帮我看看怎么回事
Author
Owner

@fudiwei commented on GitHub (May 28, 2025):

自己测试一下 POST <your-server-url>/api/wafmastersite/get_site_list 能不能访问成功吧,现在显示的 404

<!-- gh-comment-id:2915171098 --> @fudiwei commented on GitHub (May 28, 2025): 自己测试一下 POST `<your-server-url>/api/wafmastersite/get_site_list` 能不能访问成功吧,现在显示的 404
Author
Owner

@1355228922 commented on GitHub (May 28, 2025):

自己测试一下 POST <your-server-url>/api/wafmastersite/get_site_list 能不能访问成功吧,现在显示的 404

可以有回调的,你看下我截图。
为啥在控制台会出现401报错了。

Image

Image

Image
本地ip端也是报错

宝塔waf的api已经是放行所有地址ip了

Image

<!-- gh-comment-id:2916188305 --> @1355228922 commented on GitHub (May 28, 2025): > 自己测试一下 POST `<your-server-url>/api/wafmastersite/get_site_list` 能不能访问成功吧,现在显示的 404 可以有回调的,你看下我截图。 为啥在控制台会出现401报错了。 ![Image](https://github.com/user-attachments/assets/09caf5ac-c3ba-452d-bd0f-d51f16f3635f) ![Image](https://github.com/user-attachments/assets/1b98aed7-8116-4c13-bf92-24e8d6ce5d87) ![Image](https://github.com/user-attachments/assets/c6a42b62-68ac-4580-b258-613eac1809f2) 本地ip端也是报错 宝塔waf的api已经是放行所有地址ip了 ![Image](https://github.com/user-attachments/assets/29b42a62-0689-4afe-afce-c41a41004b2f)
Author
Owner

@fudiwei commented on GitHub (May 28, 2025):

没有“尾巴”的时候 Certimate 里执行日志也是这个错误信息吗?

<!-- gh-comment-id:2916491648 --> @fudiwei commented on GitHub (May 28, 2025): 没有“尾巴”的时候 Certimate 里执行日志也是这个错误信息吗?
Author
Owner

@1355228922 commented on GitHub (May 28, 2025):

错误信息吗?

是的,都是一样的报错,在使用了本地ip也报错,老兄麻烦你有时间排查一下

<!-- gh-comment-id:2916673411 --> @1355228922 commented on GitHub (May 28, 2025): > 错误信息吗? 是的,都是一样的报错,在使用了本地ip也报错,老兄麻烦你有时间排查一下
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#493
No description provided.