Providing you have the proper protection on the AC mains side (RCD, ELCB etc) the 12V DC side shouldn't be an issue even if it gets wet. Your biggest problem would normally be with corrosion caused by electrolysis but with rain water (the purer the better) this is not usually an issue unless...