how to change the date of birth on my certificate of naturalization and my passport?
You are not providing enough facts to properly answer your question, was that a typographical error?
More information required. Possibly contact USCIS with birth certificate showing proper date. Then once that is cleared Renew your passport with the correct date.
The information contained in this answer is provided for informational purposes only, and should not be construed as legal advice on any subject matter,not should it be viewed as establishing an attorney client relationship of any kind.