MacOS 安装Frida "urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" 错误
% where python3
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3
/usr/local/bin/python3
/usr/bin/python3
% sudo python3 Install Certificates.command
Password:
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3: can't open file '/Users/ysbb/Downloads/Install': [Errno 2] No such file or directory
% open /Applications/Python\ 3.10/Install\ Certificates.command
执行成功会弹出:
% /Applications/Python\ 3.10/Install\ Certificates.command ; exit;
-- pip install --upgrade certifi
Collecting certifi
Downloading certifi-2022.6.15.1-py3-none-any.whl (160 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.4/160.4 kB 824.5 kB/s eta 0:00:00
Installing collected packages: certifi
Successfully installed certifi-2022.6.15.1
-- removing any existing file or link
-- creating symlink to certifi certificate bundle
-- setting permissions
-- update complete
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.
pip install frida
pip install frida-tools