frp icon indicating copy to clipboard operation
frp copied to clipboard

feat(plugin): add rootca and tls verify for client http plugins

Open adamwallred opened this issue 1 year ago • 1 comments

WHY

It would be nice to support a custom CA cert and perform TLS verification of the connections between the httputil.ReverseProxy and the proxied service in the client *2https plugins.

This PR adds support for loading a rootCA and verifying TLS connections for the client http plugins.

I manually tested this by adding an incorrect root CA cert and attempting to make use of the proxy:

Screenshot 2024-09-25 at 2 46 40 PM

and verify failed as expected.

After adding the proper root CA certificate, the verify and proxy worked as expected.

adamwallred avatar Sep 25 '24 18:09 adamwallred

PRs go stale after 21d of inactivity. Stale PRs rot after an additional 7d of inactivity and eventually close.

github-actions[bot] avatar Oct 17 '24 00:10 github-actions[bot]