Vehicle-to-everything (V2X) communication infrastructure is made possible by the latest vehicular communication technologies, which allows vehicles to convey information with any network, at any time, from any location. Vehicle networks have recently been recognized as a potential way to enhance traffic control and drivers driving experiences. Still, in existing models energy efficiency and security are essential requirements and remains challenges to modern V2X networks, including high latency, computational overhead, complexity, improper routing, and link failure. To address these concerns, the proposed method implemented an optimized DBSCAN with reinforcement learning based AODV and Homomartino Encryption for secure and energy efficient in V2X network. In the vehicular network, trusted authority has the responsibility to identify the trusted vehicles based on registered vehicles and user ID. If the event like accident happens, the V2V communication occurs between the vehicles related to the incident and cluster Head vehicle is selected using an optimized DBSCAN algorithm with Black-winged Kite Algorithm optimization to send the message to nearby RSU based on the low distance and high energy. Then the RSU validated the reliability message to determine the trusted level of the incident. Afterwards using the routing protocols as reinforcement learning based AODV to estimate the suitable route to transmit the reliable message to the base station. Homomartino encryption is used to encrypt the reliability message for secure transmission of data and uploaded it in the cloud server database, which also broadcast the alert messages to everyone in the V2X network to reduce the traffic and secure road safety management. The performance metrics obtained for the proposed model are 85.6% PDR, 12.77 J energy consumption, 26.4% routing overhead, 19.5mbps throughput, 0.73 silhouette score and also the taken for key generation, clustering, encryption, execution are 2.01, 0.30, 11.89 and 23.52 ms respectively. These results describes that the proposed energy-efficient and cryptography algorithm performs better than the other existing model and offering a more effective solution for securing V2X communication networks.