Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How to resolve the SSL error - (SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]

Asked by Christopher Paterson Feb 9, 2023 1.0K views 1 answer
Share

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?

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.