Closed yunyuyan closed 3 weeks 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. 代码内注释是对的,只是按照注释修改为正确的罢了.
[issuer] = The issuer. If null, the issuer will be the subject of the given csr.