If you are traveling by air, it is impossible to travel out of your country. A passport within six months of expiry is not acceptable either.