FreeBSD Port: lang/python27

michele michele at buddyns.com
Thu Jan 29 18:55:56 UTC 2015


Hey folks,

I’m dropping a quick note on this; didn’t have the time to look through:


Python 2.7.9 introduced SSL certificate validation by default. The default distribution
expects the CA at /etc/ssl/ , but FreeBSD stores it in /usr/local/etc/ssl .

This silently breaks all systems using SSL connection without change to infrastructure
or code. A simple symlink (see below) fixes the issue. I suppose this also effectively
requires to add "ca_root_nss" to RUN_DEPENDS.

http://www.quora.com/Are-your-Python-scripts-failing-like-this-urllib2-URLError-urlopen-error-SSL-CERTIFICATE_VERIFY_FAILED-certificate-verify-failed

cheers
michele


More information about the freebsd-python mailing list