I have a IP68 rated enclosure for my Arduino project. I am using LoRa with an antenna and a u.FL to SMA adapter.
I want to make sure water does not damage the Arduino nor the antenna connector. Do I just drill a hole on the side of the enclosure for the adapter and put an o-ring between the antenna and hole to make it water-tight? Do I need to put anything on the male end of the adapter? (spray Corrosion X?)
Keep the SMA connector inside your enclosure, leading only the wire itself out. Gonna be easier, especially if you use an inverted bucket style container (i.e. open on the bottom).
If you really want to seal off your container (gonna be hard - water tends to be sucked in due to pressure changes, which in turn is largely due to temperature changes) place the connector on the bottom where it's less likely to come in contact with moisture.
Self amalgamating rubber tape is a good solution for semi-permanent installation.
Goopy, and waterproof, it seals to itself to create a good seal.
around irregular shapes.