This question already has an answer here:
My (Israeli) passport expires on 15/3/2018, and I need to fly from Israel to Germany on 10/9/2017 for 4 nights. I won't be able to renew my passport before the flight in the normal process, only in an express process which costs considerably more and is a greater hassle.
I have asked the Israeli ministry of interior and they told me that I'll be able to leave the country (and come back) as long as my passport is valid, even on the last day before it expires, but from my knowledge, international travel requires a passport that is valid for 6 months.
Will I be able to enter and leave Germany with a passport that expires in 6 months and a few days?