Added code for skipping cert validation