Welcome to the Wefugees Community and thank you for reaching out to us.
From my experience, countries may regulate the application process for those kind of documents in different ways. In most cases, you could apply at your country of origin's embassy. If you are not born in Germany, German authorities can unfortunately not issue a bith certificate, for instance. I hope this helps and please don't hesitate to get back to us with any further questions.
All the best,