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

Created: June 12, 2016, 1:37 p.m. Updated: June 4, 2018, 5:35 p.m.

错误提示

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 # 确认证书存在