1. Страховка за 4 месяца - This can be used to tell about some situations in the past, mainly in the past. For instance: "У Вас не оплачена страховка за последние четыре месяца". However, the pattern is difficult to explain.
2. Страховка на 4 месяца - an insurance for 4 months. That's certainly right.