ssl override replace for non deprecated method