1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Feature] Issue of SSL default site certificate leakage

Open bh1xaq opened this issue 4 months ago • 2 comments

1Panel Version

2.x

Please describe your needs or suggestions for improvements

OP 反代功能的问题:

我访问 http://ip 的时候,nginx能阻断我的链接,但是 https://ip 的时候,会先提示我不安全,然后nginx才会阻断我的链接。

这样实际上还是泄露了ip和证书(可能有业务域名)的对应关系。

1Panel 这块看看能否帮忙阻断一下。单独配自签名证书这个方案就PASS了,不想维护两套证书。

Please describe the solution you suggest

如果是IP访问,HTTPS也给我拒绝掉吧。

Additional Information

bh1xaq avatar Oct 24 '25 09:10 bh1xaq

我们会在后续版本支持此需求

zhengkunwang223 avatar Oct 24 '25 09:10 zhengkunwang223

openssl s_client -connect [你的ip]:443 -servername [你的域名]

使用这个命令,如果能获取到你的证书,说明存在漏洞

pooneyy avatar Oct 25 '25 14:10 pooneyy

v2.0.13 版本已发布。

wanghe-fit2cloud avatar Nov 20 '25 03:11 wanghe-fit2cloud