当前位置:网站首页>whistle ERR_ CERT_ AUTHORITY_ INVALID

whistle ERR_ CERT_ AUTHORITY_ INVALID

2022-07-24 20:27:00 Angry Apple ext

background

  • I am working on the enterprise wechat sidebar , Because it needs to be changed bug, Convenient debugging , So I want to send the request to my local .

  • The agent is set in advance , As shown in the figure below .
     Insert picture description here

  • Used whistle .ctrl+shift+alt+d open debug after , It is found that the request was interrupted ,console Yes ERR_CERT_AUTHORITY_INVALID.

  • There's a little interlude in the middle , My computer has mitmproxy, There is no problem using it , Can see the request .

  • Inference is a certificate problem .

Solution

  • Do not use the automatic option when installing certificates .
  • choice Trusted Root Certificate Authorities( Trusted root certification authority )
     Insert picture description here
  • Use command certmgr.msc Check the certificate
     Insert picture description here
  • Request effect , As shown in the figure below .
     Insert picture description here
  • The request has arrived locally ( It is now configured Rules), As shown in the figure below
     Insert picture description here

Follow up comparative thinking

  • I compared the certificate ,whistle Automatically installed in Intermediate Certificate
     Insert picture description here
  • mitmproxy Automatically installed in Trusted Root Certificate Authorities( Trusted root certification authority )
     Insert picture description here
  • Probably Intermediate Certificate Not enough level , So it will be interrupted .

Reference resources

原网站

版权声明
本文为[Angry Apple ext]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/203/202207210521520403.html