monkeyWie / proxyee

HTTP proxy server,support HTTPS&websocket.MITM impl,intercept and tamper HTTPS traffic.
MIT License
1.52k stars 567 forks source link

调整 CertDownIntercept 以允许自行设置 CA 证书. #108

Closed LamGC closed 3 years ago

LamGC commented 3 years ago

通过 CertDownIntercept 这个调整,可以允许开发者设置自己的(或者动态生成)CA 证书以降低(甚至是消除)由于使用 proxyee 自带证书而造成的潜在风险。

不过由于 HttpProxyServer 的设计,最好使用 HttpProxyCACertFactory 为 CertDownIntercept 提供证书.

LamGC commented 3 years ago

等我一会,Javadoc 忘记写了,这个已经是几个月前的更改了,本来想发起 PR 但是忘记了。

LamGC commented 3 years ago

好了 :D

monkeyWie commented 3 years ago

来了来了,我看了下没问题,直接merge了