Freebsd下Python easy_install 提示 [SSL: CERTIFICATE_VERIFY_FAILED] 错误修复

Posted on Sun 12 June 2016 in FreeBSD

错误提示

easy_install [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

In FreeBSD 10.1 it can be quickly fixed doing:

修复方式

pkg install ca_root_nss

cat /etc/ssl/cert.pem # 确认证书存在