Aluminum grounding lug could fix solar cable onto the rail.
Grounding lugs
Solar grounding lugs are essential components in solar photovoltaic systems used to establish a reliable electrical connection between the solar panels, mounting structure, and grounding system.