When you try to consume a webservice with an invalid certificate, both python-zeep and suds may raise an error that looks like: requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600).

You can bypass this error with the snippets below:

Python Zeep

from requests import Session
from zeep.transports import Transport
from zeep import Client


session = Session()
session.verify = False
transport = Transport(session=session)
client = Client('your_webservice?wsdl', transport=transport, strict=False)

Suds

# Before instantiate suds client
import ssl


try:
    _create_unverified_https_context = ssl._create_unverified_context
except AttributeError:
    pass
else:
    ssl._create_default_https_context = _create_unverified_https_context