[PR #2103] [MERGED] Allow server plugin to talk to https services. Option for skipping tls verification #4509

Closed
opened 2026-05-05 14:43:28 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2103
Author: @mikehardenize
Created: 11/23/2020
Status: Merged
Merged: 12/3/2020
Merged by: @fatedier

Base: devHead: server_plugin_tls


📝 Commits (3)

  • 900bb12 Allow server plugin to talk to https services. Option for skipping tls verification
  • fb0c729 Rename TlsVerify to TLSVerify
  • c613805 Server plugin should use default http transport when scheme is not https

📊 Changes

3 files changed (+37 additions, -13 deletions)

View changed files

📝 doc/server_plugin.md (+4 -3)
📝 pkg/config/server_common.go (+9 -4)
📝 pkg/plugin/server/http.go (+24 -6)

📄 Description

This is in relation to https://github.com/fatedier/frp/issues/2102. It allows me to use the following server plugin config to talk to a https service without tls verification:

[plugin.user-manager]
addr = https://localhost:8443
path = /login
ops  = Login
tls_verify = false

It is backwards compatible, so if you don't specify a schema, it will default to http: as before. If you don't specify tls_verify it will default to true.

I am not a golang programmer, so I apologise if the quality of my PR isn't good enough. I am happy to make changes if you need them.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/2103 **Author:** [@mikehardenize](https://github.com/mikehardenize) **Created:** 11/23/2020 **Status:** ✅ Merged **Merged:** 12/3/2020 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `server_plugin_tls` --- ### 📝 Commits (3) - [`900bb12`](https://github.com/fatedier/frp/commit/900bb1254e31aedb1cfda7e55ae9bceb654d86e2) Allow server plugin to talk to https services. Option for skipping tls verification - [`fb0c729`](https://github.com/fatedier/frp/commit/fb0c7292ac2457d226de321c8379bc40c94002ac) Rename TlsVerify to TLSVerify - [`c613805`](https://github.com/fatedier/frp/commit/c61380584e592a773343e420b5011bed4df9785e) Server plugin should use default http transport when scheme is not https ### 📊 Changes **3 files changed** (+37 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `doc/server_plugin.md` (+4 -3) 📝 `pkg/config/server_common.go` (+9 -4) 📝 `pkg/plugin/server/http.go` (+24 -6) </details> ### 📄 Description This is in relation to https://github.com/fatedier/frp/issues/2102. It allows me to use the following server plugin config to talk to a https service without tls verification: ``` [plugin.user-manager] addr = https://localhost:8443 path = /login ops = Login tls_verify = false ``` It is backwards compatible, so if you don't specify a schema, it will default to `http:` as before. If you don't specify `tls_verify` it will default to `true`. I am not a golang programmer, so I apologise if the quality of my PR isn't good enough. I am happy to make changes if you need them. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:43:28 -06:00
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#4509
No description provided.