About this question
Following details I gave and try to connect salesforce via simple_salesforce,
Salesforce(instance_url = 'https://********.my.salesforce.com',
username = 'asdasd@asd.com',
password = 'password',
security_token = '******hhhh*******',
domain = 'test')
Following Exception is coming when I connect with the office network.
HTTPSConnectionPool(host='test.salesforce.com', port=443): Max retries exceeded with url: /services/Soap/u/52.0 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)')))
If I disconnect with the Office network and connect with another network(like a mobile's hotspot) means, it works fine. I don't know where is issue? In network or python?