mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2946] [Feature Request] Hot reloading TLS certificates in FRPS #2352
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#2352
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 @splinter98 on GitHub (May 20, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2946
Describe the feature request
Currently in FRPS TLS certificates are only loaded during the initialisation of the server, so if the signed certificate expires or are replaced FRPS needs to be restarted which will break any client connections.
Looking at how other programs handle this there seems to be two main approaches.
The former seemed simpler to implement so I have a working version at: splinter98/frp on the ssh-renewal branch.
Describe alternatives you've considered
I've also considered looking implementing the file monitoring approach but this would introduce another 3rd party library dependency.
Affected area
@keliansb commented on GitHub (Aug 20, 2024):
Would love to see this feature implemented!
@srekkas commented on GitHub (Apr 3, 2025):
Hi.
We need it too. I am testing if frps/c reloads certificates right now.
@srekkas commented on GitHub (Apr 29, 2025):
Yep, it wont reload certificates. We use cert-manager to generate certificates and some automatic reload is must for both frps and frpc.
We can implement sidecar for frpc, which watch certificates and query config reload api, if it will reload certificates.
But what about frps, i do not want use external watcher and reload frps pod, additional config, updates etc...
@srekkas commented on GitHub (Feb 5, 2026):
Hi, can it be done :)