mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #1150] [Feature] webhook的模板变量添加base64版本 #776
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#776
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thun888 on GitHub (Jan 8, 2026).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/1150
Description / 功能描述
Adguard Home的api使用的是base64处理后的证书,可否添加这一系列的模板变量
Motivation / 请求动机
增强webhook部署
Miscellaneous / 其他
No response
Contribution / 贡献代码
@fudiwei commented on GitHub (Jan 8, 2026):
PEM 格式本身已经是 Base64 编码的了,这个是还要对 PEM 文本再次 Base64?
@thun888 commented on GitHub (Jan 8, 2026):
嗯
@fudiwei commented on GitHub (Jan 8, 2026):
不打算支持。
各种 HTTP 接口要求的参数千奇百怪的,我已经见过的:
-----BEGIN CERTIFICATE-----、-----END CERTIFICATE-----的;\r\n的;情况太多了,没办法一一满足这类边缘场景。
这种情况我建议要么自己再写一个简单的 Webhook 中转层;要么可以先部署证书到本地主机、然后利用后置命令来执行一段 Shell 脚本,通过 curl 来请求:
@thun888 commented on GitHub (Jan 8, 2026):
好的👌