proxyee icon indicating copy to clipboard operation
proxyee copied to clipboard

如何选择性的站点走证书吗?

Open bowmansir opened this issue 4 years ago • 6 comments
trafficstars

使用的时候发现,大部分 https 站点正常, 但会有个别的 https 无法响应,返回的 400 请求,所以想问下如何选择性的走证书,打扰了

bowmansir avatar Oct 18 '21 10:10 bowmansir

这个可以在客户端设置规则过滤吧,服务器这边目前不支持

monkeyWie avatar Oct 20 '21 09:10 monkeyWie

那有些网站的 https 直接报 404 错误这能解决吗 例如 https://weixin110.qq.com

bowmansir avatar Oct 21 '21 01:10 bowmansir

@bowmansir 启用了https解密吗,还是普通的http代理服务

monkeyWie avatar Oct 25 '21 01:10 monkeyWie

@bowmansir 启用了https解密吗,还是普通的http代理服务

启用了 https 解密的

bowmansir avatar Oct 26 '21 02:10 bowmansir

@bowmansir 我这边测试没有404呀,就用的这个测试代码:https://github.com/monkeyWie/proxyee/blob/master/src/test/java/com/github/monkeywie/proxyee/HandelSslHttpProxyServer.java

monkeyWie avatar Oct 26 '21 02:10 monkeyWie

我也有这个需求,只想抓特定host的https,HttpProxyServerConfig#setHandleSsl(boolean)的控制粒度太粗了,作者是否可以加一个接口进去呢,让调用方决定是否对特定host启用https解密,全部https都解密一遍对于我来说是没有必要的

Cricin avatar Feb 06 '23 10:02 Cricin