mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4052] [Feature Request] transport.tls.certFile 在 Windows 下应改为双斜杠,以及希望添加校验 frps 证书的功能 #3207
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3207
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 @Jason-2048 on GitHub (Mar 10, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4052
Describe the feature request
Linux 下文件位置和配置文件均为
/home/test/example.com.crtWindows 下文件位置为
C:\Users\test\example.com.crt则配置文件应改为C:\\Users\\test\\example.com.crt官方文档中未提及此部分。
另,希望 frpc 添加一个功能,以选择是否校验 frps 的证书,这样 frps 可以直接使用 https 的证书。
Describe alternatives you've considered
No response
Affected area
@xqzr commented on GitHub (Mar 10, 2024):
在 Linux 指定值为
/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem即可验证49443cb2c6/conf/frpc_full_example.toml (L106)希望有个选项,能够使用系统内置 CA 验证
https://github.com/fatedier/frp/issues/3189#issuecomment-1332549367
@Jason-2048 commented on GitHub (Mar 10, 2024):
感谢回复,请问有Windows的方案吗?是否- 可以拷贝Linux上的pem?
@xqzr commented on GitHub (Mar 10, 2024):
也可以
不过,使用签发机构提供的 CA,似乎更优雅
@Jason-2048 commented on GitHub (Mar 10, 2024):
我使用 certbot 更新证书,但 Lets 的证书只有三个月,每次证书更新后,客户端都得更换 ca 证书和重启,太麻烦了,服务端倒可以使用 crontab 非常方便
https://letsencrypt.org/zh-cn/certificates/ 找到了
@xqzr commented on GitHub (Mar 10, 2024):
CA 证书一般不会变,它的有效期很长