def SmartConnectNoSSL(protocol='https', host='localhost', port=443, user='root', pwd='', service='hostd', path='/sdk', connectionPoolTimeout=CONNECTION_POOL_IDLE_TIMEOUT_SEC, preferredApiVersions=None, keyFile=None, certFile=None, thumbprint=None, b64token=None, mechanism='userpass'):
 if hasattr(ssl, '_create_unverified_context'):
  sslContext = ssl._create_unverified_context()
 else:
  sslContext = None
 return SmartConnect(protocol=protocol, host=host, port=port, user=user, pwd=pwd, service=service, path=path, connectionPoolTimeout=connectionPoolTimeout, preferredApiVersions=preferredApiVersions, keyFile=keyFile, certFile=certFile, thumbprint=thumbprint, sslContext=sslContext, b64token=b64token, mechanism=mechanism)

def SmartConnectNoSSL ( protocol = 'https' , host = 'localhost' , port = 443 , user = 'root' , pwd = '' , service = 'hostd' , path = '/sdk' , connectionPoolTimeout = CONNECTION_POOL_IDLE_TIMEOUT_SEC , preferredApiVersions = None , keyFile = None , certFile = None , thumbprint = None , b64token = None , mechanism = 'userpass' ) : if hasattr ( ssl , '_create_unverified_context' ) : sslContext = ssl . _create_unverified_context ( ) else : sslContext = None return SmartConnect ( protocol = protocol , host = host , port = port , user = user , pwd = pwd , service = service , path = path , connectionPoolTimeout = connectionPoolTimeout , preferredApiVersions = preferredApiVersions , keyFile = keyFile , certFile = certFile , thumbprint = thumbprint , sslContext = sslContext , b64token = b64token , mechanism = mechanism )
provides a standard method for connecting to a specified server without ssl verification .