Scalable-2024 / bobb-protocol

0 stars 1 forks source link

Updated allowing of self signed certificate #43

Open Karthees21 opened 4 days ago

Karthees21 commented 4 days ago

Created an ssl_context that disables hostname checking and certificate verification, and also defined a custom SSLAdapter to integrate the ssl_context with the requests library. Configured a requests.Session to use the custom SSLAdapter for HTTPS connections and replaced requests.post with session.post to ensure the handshake requests use the custom SSL setup.