Fix SSL is required errors.