[GH-ISSUE #5046] [Question] wss certificate validation behavior #3971

Closed
opened 2026-05-05 14:31:35 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @undirectlookable on GitHub (Nov 4, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5046

Describe the feature request

I have successfully connect my frp server behind a nginx with ssl via wss transport mode.
Just a question: when my server certificate is invalid(eg. expired, common name doesn't match), will frpc ignore this error or refuse to connect?

according to this line of code, InsecureSkipVerify will be true when certFile is not provided, it that correct?

If possible, it's nice to have a transport.tls.InsecureSkipVerify option to handle this behavior.

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @undirectlookable on GitHub (Nov 4, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/5046 ### Describe the feature request I have successfully connect my frp server behind a nginx with ssl via `wss` transport mode. Just a question: when my server certificate is invalid(eg. expired, common name doesn't match), will frpc ignore this error or refuse to connect? according to [this line of code](https://github.com/fatedier/frp/blob/v0.65.0/pkg/transport/tls.go#L148), `InsecureSkipVerify` will be true when `certFile` is not provided, it that correct? If possible, it's nice to have a `transport.tls.InsecureSkipVerify` option to handle this behavior. ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:31:35 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 19, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3550052627 --> @github-actions[bot] commented on GitHub (Nov 19, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#3971
No description provided.