http代理和http抓包很容易理解。
但是https就没有那么容易理解了。关键还是计算机知识的匮乏。
虽然我通过配置证书的方式,可以抓取到https的数据了,但是我还不清楚原理。我需要尽量的把https给弄清楚。这样事情才会变得有趣一点。
macOs
- Double-click the PEM file to open the Keychain Access application.
- Locate the new certificate “mitmproxy” in the list and double-click it.
- Change Secure Socket Layer (SSL) to Always Trust.
- Close the dialog window and enter your password if prompted.