Fix certificate error on mac

This fix should be validated on windows and linux

Related to https://github.com/gkudos/qgis-cartodb/issues/2