Curl 'certificate verification failed' on mac

随声附和 提交于 2020-01-03 03:46:05

问题


On the Mac, brew install something (chromedriver in this case), yields:

curl: (51) SSL: certificate verification failed (result: 5)
Error: Failed to download resource "chromedriver"
Download failed: https://chromedriver.storage.googleapis.com/2.22/chromedriver_mac32.zip

Que pasa?


回答1:


Env var SSL_CERT_FILE was set to something by some other tool previously. This ...

export SSL_CERT_FILE=""
brew install something

... fixes the problem



来源:https://stackoverflow.com/questions/38737490/curl-certificate-verification-failed-on-mac

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!