Fix for python 2.7.9 + SSL Errors

Unix

07 Feb 2015

Fix for python 2.7.9 + SSL Errors

Preston Garrison 0 Comments

If you are seeing something on FreeBSD along the lines of:

URL error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

the following fix is for you.  Apparently in pythons infinite wisdom they have decided to change the location they look for the CA certificate.  Simple fix is to run the following as root:

 

ln -s /usr/local/etc/ssl/cert.pem /etc/ssl/cert.pem