[GH-ISSUE #1218] How to implement HTTPS SSL connection for multiple frp wildcard subdomains with wildcard SSL certificates? #957

Closed
opened 2026-05-05 12:36:43 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @jerrychong25 on GitHub (Apr 26, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1218

Hi,

Currently I have implemented frp communication between 5 clients and 1 server, with subdomain_host = abc.com in frps.ini

I saw number of methods for implementing HTTPS SSL connection between 1 client and 1 server, but can't find a way to implement HTTPS SSL connection between 5 clients and 1 server.

Is it possible to implement wildcard SSL certificates for multiple sub domains?

If yes, how to implement this?

Thanks.

Originally created by @jerrychong25 on GitHub (Apr 26, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1218 Hi, Currently I have implemented frp communication between 5 clients and 1 server, with **subdomain_host = abc.com** in **frps.ini** I saw number of methods for implementing HTTPS SSL connection between 1 client and 1 server, but can't find a way to implement HTTPS SSL connection between 5 clients and 1 server. Is it possible to implement wildcard SSL certificates for multiple sub domains? If yes, how to implement this? Thanks.
Author
Owner

@MHgit01 commented on GitHub (Apr 26, 2019):

1.First to nginx
2.nginx to FRPs

<!-- gh-comment-id:487019566 --> @MHgit01 commented on GitHub (Apr 26, 2019): 1.First to nginx 2.nginx to FRPs
Author
Owner

@jerrychong25 commented on GitHub (Apr 27, 2019):

1.First to nginx
2.nginx to FRPs

You means following flow?
Public internet traffic -> Nginx Server (Server 1) -> FRP Server (Server 2) -> FRP Client

Can Server 1 and Server 2 on same server?

<!-- gh-comment-id:487252811 --> @jerrychong25 commented on GitHub (Apr 27, 2019): > 1.First to nginx > 2.nginx to FRPs You means following flow? Public internet traffic -> Nginx Server (Server 1) -> FRP Server (Server 2) -> FRP Client Can Server 1 and Server 2 on same server?
Author
Owner

@sucotronic commented on GitHub (Jun 17, 2019):

Can Server 1 and Server 2 on same server?

Yes

<!-- gh-comment-id:502605200 --> @sucotronic commented on GitHub (Jun 17, 2019): > Can Server 1 and Server 2 on same server? Yes
Author
Owner

@logoove commented on GitHub (Jul 16, 2019):

https://www.kancloud.cn/logoove/we7/1108072

<!-- gh-comment-id:511753564 --> @logoove commented on GitHub (Jul 16, 2019): https://www.kancloud.cn/logoove/we7/1108072
Author
Owner

@jerrychong25 commented on GitHub (Oct 12, 2019):

After tried several method, only following is working:

  1. Setup FRP Client & Server For Wildcard Domains
    https://www.cnblogs.com/damnedmoon/p/10357033.html
  2. Generate Wildcard SSL Certificate & Nginx HTTPS Setup Tutorial
    https://segmentfault.com/a/1190000017194280
  3. Generate Wildcard SSL Certificate Using Cloudflare DNS Plugin
    https://certbot.eff.org/lets-encrypt/centosrhel7-nginx.html
    https://certbot.eff.org/docs/using.html#dns-plugins
    https://certbot-dns-cloudflare.readthedocs.io/en/stable/
<!-- gh-comment-id:541340755 --> @jerrychong25 commented on GitHub (Oct 12, 2019): After tried several method, only following is working: 1) Setup FRP Client & Server For Wildcard Domains https://www.cnblogs.com/damnedmoon/p/10357033.html 2) Generate Wildcard SSL Certificate & Nginx HTTPS Setup Tutorial https://segmentfault.com/a/1190000017194280 3) Generate Wildcard SSL Certificate Using Cloudflare DNS Plugin https://certbot.eff.org/lets-encrypt/centosrhel7-nginx.html https://certbot.eff.org/docs/using.html#dns-plugins https://certbot-dns-cloudflare.readthedocs.io/en/stable/
Author
Owner

@jerrychong25 commented on GitHub (Oct 12, 2019):

Since it is working now, I will close this issue.

<!-- gh-comment-id:541340788 --> @jerrychong25 commented on GitHub (Oct 12, 2019): Since it is working now, I will close this issue.
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: github-starred/frp#957
No description provided.