[GH-ISSUE #1630] 如何让frps信任自签名的https证书? #1291

Closed
opened 2026-05-05 12:49:28 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @jueljust on GitHub (Jan 22, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1630

我内网网站https,使用自签名的证书
公网搭建的frps无法被nginx反向代理 因为https证书无认证的关系
但我将这张证书加入公网服务器的信任证书,还是无法正确的反向代理
怎样才能使frps忽略这个问题呢?

Originally created by @jueljust on GitHub (Jan 22, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1630 我内网网站https,使用自签名的证书 公网搭建的frps无法被nginx反向代理 因为https证书无认证的关系 但我将这张证书加入公网服务器的信任证书,还是无法正确的反向代理 怎样才能使frps忽略这个问题呢?
Author
Owner

@fatedier commented on GitHub (Feb 4, 2020):

frps 不需要信任证书,只提供转发功能,如果无法转发可能是其他的错误。

<!-- gh-comment-id:581823485 --> @fatedier commented on GitHub (Feb 4, 2020): frps 不需要信任证书,只提供转发功能,如果无法转发可能是其他的错误。
Author
Owner

@zeronchen commented on GitHub (May 12, 2023):

不过frpc的日志会打印认证错误

<!-- gh-comment-id:1545264845 --> @zeronchen commented on GitHub (May 12, 2023): 不过frpc的日志会打印认证错误
Author
Owner

@zeronchen commented on GitHub (May 12, 2023):

考虑下能不能让frps添加信任证书的配置。我还试了一下用自签名的CA生成自签名的frpc https证书,然后把CA加入到frps的tls信任证书里面,同样还是不行。

frps 不需要信任证书,只提供转发功能,如果无法转发可能是其他的错误。

<!-- gh-comment-id:1545346632 --> @zeronchen commented on GitHub (May 12, 2023): 考虑下能不能让frps添加信任证书的配置。我还试了一下用自签名的CA生成自签名的frpc https证书,然后把CA加入到frps的tls信任证书里面,同样还是不行。 > frps 不需要信任证书,只提供转发功能,如果无法转发可能是其他的错误。
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#1291
No description provided.