Adds ssl fix for api interaction