Add local ca-bundle
Update for OSX, and fix for error on fedora