def use_client_certificate(self, cert=None, key=None):
     SAMWebHTTPClient.use_client_certificate(self, cert, key)
     self._session = None # This will clear any existing session with a different cert
Exemple #2
0
 def use_client_certificate(self, cert=None, key=None):
     SAMWebHTTPClient.use_client_certificate(self, cert, key)
     self._session = None  # This will clear any existing session with a different cert
Exemple #3
0
 def use_client_certificate(self, cert=None, key=None):
     """ Use the given certificate and key for client ssl authentication """
     SAMWebHTTPClient.use_client_certificate(self, cert, key)
     self._opener = urllib2.build_opener(HTTPSClientAuthHandler(self._cert),
                                         HTTP307RedirectHandler)
 def use_client_certificate(self, cert=None, key=None):
     """ Use the given certificate and key for client ssl authentication """
     SAMWebHTTPClient.use_client_certificate(self, cert, key)
     self._opener = urllib2.build_opener(HTTPSClientAuthHandler(self._cert), HTTP307RedirectHandler )