Skip to content

Instantly share code, notes, and snippets.

@chroming
Last active December 11, 2021 05:35
Show Gist options
  • Save chroming/8783f200bea600616aa32aaa76ce6e35 to your computer and use it in GitHub Desktop.
Save chroming/8783f200bea600616aa32aaa76ce6e35 to your computer and use it in GitHub Desktop.
为BurpSuite生成ca证书以解决macOS Chrome ERR_CERT_WEAK_KEY问题
  1. openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 1000 -out certificate.pem
  2. openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12 此时会提示输入密码,这个密码每次导入p12证书需要用到,自己记住即可。
  3. 在Burp Suite中Proxy -> Options -> 点击 “Import / Export CA Certificate -- Certificate and private key from PKCS#12 keystore”,选择2中生成的p12证书即可。
  4. 把p12证书拖到mac系统钥匙串访问--系统根证书中,点击始终信任即可。

参考资料:

Creating SSL Certificate Burp Suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment