Added weak cert validation when using CA file