1Panel
1Panel copied to clipboard
[Feature] Issue of SSL default site certificate leakage
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
无
我们会在后续版本支持此需求
openssl s_client -connect [你的ip]:443 -servername [你的域名]
使用这个命令,如果能获取到你的证书,说明存在漏洞
v2.0.13 版本已发布。