Rail Mounts: the Holes That Must Stay Dry
Solar panels do not sit on the roof. They sit on rails, and the rails sit on mounts, and each mount is bolted through the shingles and the sheet below into the deck or the rafters. Every mount is a hole through the roof, and every hole is a place water can get in. The mount is only as good as the seal around it.
The seal is a flashing boot, a collar of metal or rubber that sits around the bolt and sheds water over the shingles below it. The boot is set under the shingle above the mount and over the shingle below it, so the water running down the roof steps over the bolt instead of into it. A boot set wrong, or a boot that has dried and cracked, lets the water straight down the bolt and onto the deck.
The mounts are spaced to share the load, and the spacing follows the rafters below, because the bolt has to bite into solid wood, not into the deck alone. A mount bolted into decking alone will pull out in the first hard wind, and the rail above it will lift with it. A roofer who sets solar mounts finds the rafters first, from the attic, and marks them on the roof, so every bolt lands where the wood is.