For working with SOAP in Python there is a suds library. The problem is that I need to work on the https protocol. In this case suds when typing Client(url) swears at me as follows:

 urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> 

I did not think of anything better than sending xml via requests like this:

 response = requests.post(url,headers = headers, data = xml, verify = False) 

So everything works, but I still want to use ready-made solutions. Is there a way to get around ssl in suds ?

  • 2
    Well, in general, he swears correctly, because the certificate is really crooked there, he has problems with the certification path. - Yaant
  • And how did you know? - faoxis
  • one
    Well, in the original version of the question was the address of the site. If you enter it into the browser, he also curses the certificate. - Yaant
  • The title and body of the question do not match. 1- find out if the certificate is correct ( add CA, if necessary ) 2- if the certificate is incorrect, for example, expired, then the question “how to disable ssl in suds” makes sense - jfs
  • Related question: Bypass SSL when i use jfs

0