fixing ssl