Fixing SSL issue