註冊並分享邀請連結,可獲得影片播放與邀請獎勵。

Lukasz Olejnik
@lukOlejnik
Security & Privacy. Data Protection. Research & Development. Engineering. Analyst. Policy. W3C. Consultant. Author. me@lukaszolejnik.com Ph.D, LL.M. @warstudies
加入 March 2013
267 正在關注    32.4K 粉絲
Be careful when developing on macOS now. Apple did not yet revoke the vulnerable certificates, so /usr/bin/curl still trusts them because. $ curl Your client successfully connected to the site. That's bad! Workaround: mkdir -p ~/.config/certs awk '/^(###|===) /{skip=0} /^=== .*\/CN=(AAA Certificate Services|emSign ECC Root CA - G3)$/{skip=1} !skip' /etc/ssl/cert.pem > ~/.config/certs/cert.pem echo 'export CURL_CA_BUNDLE="$HOME/.config/certs/cert.pem"' >> ~/.zshrc source ~/.zshrc This only fixes curl. Update certifi, Go, pip/Python, Node, Docker images etc. separately.
顯示更多
0
13
287
46
轉發到社區