wanghongenpin / network_proxy_flutter

Open source free capture HTTP(S) traffic software ProxyPin, supporting full platform systems
Apache License 2.0
4.91k stars 388 forks source link

Fix bug #197

Closed yunyuyan closed 3 weeks ago

yunyuyan commented 1 month ago

[issuer] = The issuer. If null, the issuer will be the subject of the given csr.

wanghongenpin commented 1 month ago

什么情况会发生问题?怎么复现

yunyuyan commented 1 month ago

这是我替换证书为我自签的证书时发现的. 当替换证书为中间CA证书时,网站证书的issuer是中间CA证书的issuer,而不是中间CA证书的subject,抓包不影响,但是会显示证书损坏被篡改. 这个错误不重要,自签名的CA根证书的issuer和subject是一样的,不会出错. [issuer] = The issuer. If null, the issuer will be the subject of the given csr. 代码内注释是对的,只是按照注释修改为正确的罢了.