McCain had to provide it to the Senate Judiciary Committee chaired by Patrick Leahy that was investigating his eligibility.
No he did not. That is yet another birther myth.