[GH-ISSUE #2933] [Feature Request] 使用tls时新增自定义san配置 #2339

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

Originally created by @hyhy01 on GitHub (May 11, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2933

Describe the feature request

错误:

 login to server failed: x509: cannot validate certificate for xxxxxxxxx because it doesn't contain any IP SANs

我没有使用自签名证书。
我生成的证书的域名绑定了cdn,因此在连接frp时填写了ip而不是域名。
我在用trojan-go时记得可以单独设置sni。

发现客户端可以不需要验证证书,好像也不是那么必要。

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 @hyhy01 on GitHub (May 11, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2933 ### Describe the feature request 错误: ```sh login to server failed: x509: cannot validate certificate for xxxxxxxxx because it doesn't contain any IP SANs ``` 我没有使用自签名证书。 我生成的证书的域名绑定了cdn,因此在连接frp时填写了ip而不是域名。 我在用trojan-go时记得可以单独设置sni。 发现客户端可以不需要验证证书,好像也不是那么必要。 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (May 12, 2022):

https://github.com/fatedier/frp/blob/dev/conf/frpc_full.ini#L103

<!-- gh-comment-id:1124843495 --> @fatedier commented on GitHub (May 12, 2022): https://github.com/fatedier/frp/blob/dev/conf/frpc_full.ini#L103
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#2339
No description provided.