fix 'SSL is required'