The Senate unanimously confirmed federal judge Michael Chertoff as the nation's next Homeland Security secretary Tuesday, despite wrangling over whether he had any connection to a Justice Department memo on the treatment of terror suspects.