Frp: How to implement HTTPS SSL connection for multiple frp wildcard subdomains with wildcard SSL certificates?

Created on 26 Apr 2019  ·  6Comments  ·  Source: fatedier/frp

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.

All 6 comments

1.First to nginx
2.nginx to FRPs

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?

Can Server 1 and Server 2 on same server?

Yes

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/

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

Was this page helpful?
0 / 5 - 0 ratings