A former sergeant in the Washington State Patrol was stripped of his state peace officer certification on Wednesday over allegations he carried out a sexual affair with a woman while on duty, including two encounters a state hearings panel deemed nonconsensual.