[GH-ISSUE #3004] dashboard 没有被TLS加密 #2399

Closed
opened 2026-05-05 13:32:41 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @tlsalex on GitHub (Jul 6, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3004

Bug Description

我的IP是1.2.3.4 , dashboard 的端口是8080, 已经绑定了SSL证书,但无法通过https去访问dashboard, 通过http访问则无问题,提示以下错误:

Secure Connection Failed
An error occurred during a connection to my 1.2.3.4:8080. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG

所绑定的证书用在nginx里是没有问题的,所以证书没问题。 即使subject name不匹配也应该能访问。

frpc Version

0.43.0

frps Version

0.43.0

System Architecture

linux/amd64

Configurations

#frps.ini

[common]
bind_port = 80

#proxy type
vhost_https_port = 443

#host header
subdomain_host = mydomain.cn

#TLS
tls_cert_file = /ssl/xray.crt
tls_key_file = /ssl/xray.key

#auth
token = mypasswork

#log
log_file = /var/log/frps.log
log_level = info
log_max_days = 7

#dashboard
dashboard_addr = 0.0.0.0
dashboard_port = 8080
dashboard_user = myuser
dashboard_pwd = mypasswork

Logs

don't see logs for the access of dashboard.

Steps to reproduce

  1. start frps
  2. access https://1.2.3.4:8080

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @tlsalex on GitHub (Jul 6, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3004 ### Bug Description 我的IP是1.2.3.4 , dashboard 的端口是8080, 已经绑定了SSL证书,但无法通过https去访问dashboard, 通过http访问则无问题,提示以下错误: ``` Secure Connection Failed An error occurred during a connection to my 1.2.3.4:8080. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG ``` 所绑定的证书用在nginx里是没有问题的,所以证书没问题。 即使subject name不匹配也应该能访问。 ### frpc Version 0.43.0 ### frps Version 0.43.0 ### System Architecture linux/amd64 ### Configurations ``` #frps.ini [common] bind_port = 80 #proxy type vhost_https_port = 443 #host header subdomain_host = mydomain.cn #TLS tls_cert_file = /ssl/xray.crt tls_key_file = /ssl/xray.key #auth token = mypasswork #log log_file = /var/log/frps.log log_level = info log_max_days = 7 #dashboard dashboard_addr = 0.0.0.0 dashboard_port = 8080 dashboard_user = myuser dashboard_pwd = mypasswork ``` ### Logs don't see logs for the access of dashboard. ### Steps to reproduce 1. start frps 2. access https://1.2.3.4:8080 3. ... ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [X] Server Plugin - [X] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Jul 6, 2022):

目前不支持,下个版本会支持,到时候可以更新测试下。

<!-- gh-comment-id:1176298767 --> @fatedier commented on GitHub (Jul 6, 2022): 目前不支持,下个版本会支持,到时候可以更新测试下。
Author
Owner

@k3rwin commented on GitHub (Jul 26, 2022):

终于找到问题所在了,配置配的我怀疑人生😇

<!-- gh-comment-id:1195299065 --> @k3rwin commented on GitHub (Jul 26, 2022): 终于找到问题所在了,配置配的我怀疑人生😇
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#2399
No description provided.