From c045369dcdd499e296a7da07a7f1b2eeae1e2fce Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Mon, 30 Mar 2015 15:46:31 -0700 Subject: [PATCH] change 'get_cert_for_host' -> 'cert_for_host' --- warcprox/mitmproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warcprox/mitmproxy.py b/warcprox/mitmproxy.py index de15406..d331caa 100644 --- a/warcprox/mitmproxy.py +++ b/warcprox/mitmproxy.py @@ -67,7 +67,7 @@ class MitmProxyHandler(http_server.BaseHTTPRequestHandler): def _transition_to_ssl(self): self.request = self.connection = ssl.wrap_socket(self.connection, - server_side=True, certfile=self.server.ca.get_cert_for_host(self.hostname)) + server_side=True, certfile=self.server.ca.cert_for_host(self.hostname)) def do_CONNECT(self): self.is_connect = True