mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2799] autocert support #2238
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#2238
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 @tcurdt on GitHub (Feb 14, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2799
Describe the feature request
A public facing https port needs a cert. It would be nice if the cert could automatically be obtained from letsencrypt.
Describe alternatives you've considered
I guess one could use caddy as another proxy in front - but that is less than ideal. It would be better to integrate
https://go-acme.github.io/lego/usage/library/
Affected area
@fatedier commented on GitHub (Feb 15, 2022):
Can you describe more about your configures?
@tcurdt commented on GitHub (Feb 15, 2022):
Let's say I have a http service on the LAN and I want to expose that via https on the a public machine.
I guess one could use
frpto create a tunnel and then use e.g.caddyas a reverse proxy to that. Or maybe usecert-managerin DNS mode to obtain letsencrypt certs. Both not ideal.It seems
frpalready supports TLS - so why not support getting the cert via acme directly?@fatedier commented on GitHub (Feb 15, 2022):
That makes sense.
I plan to support it in frp v2. Usage of HTTPS will be refactored future.
If it's easy to implement, i will add this in current release.
@almereyda commented on GitHub (Sep 21, 2022):
In case one wanted to adopt implementation strategies from other approaches, there is boringproxy.io, which reuses caddyserver/certmagic for the task.
@dest1n1s commented on GitHub (Aug 11, 2024):
Any progress on this? It'd be nice if
frpsupports automatic certificate renewal since it's cumbersome to have the certificates renewed on the relay server and then move them to the host.@trajche commented on GitHub (Dec 25, 2025):
@fatedier I took a stab at this over here: https://github.com/trajche/frp
It works but frpc proxies must be set to http. It does not use the ACME wildcard (DNS verification), only web server one.
I added "feature gates" as a concept to server too to enable this so it doesn't cause issues with the rest.
@bbplatforma commented on GitHub (Mar 24, 2026):
Hi. Can this together be addressed, frps then will be near perfect :)
https://github.com/fatedier/frp/issues/2946