Is IP65 enough for outdoor installation?
IP65 covers dust and water jets, not continuous rain at an angle or condensation forming inside the housing.
For outdoor mounting, keep the cable entry pointing down, leave a drip loop, and consider a sun/rain shield. If condensation is likely, a breather element is more effective than a higher IP number.