Does my passport have to be at least 6 months old to apply for visa?

No, this is misinterpretation of 6 months rules. Your passport has to be valid at least for 6 more months on the travel day.