diff --git a/libmproxy/proxy/server.py b/libmproxy/proxy/server.py index 57932b0f0..4c7fbbf05 100644 --- a/libmproxy/proxy/server.py +++ b/libmproxy/proxy/server.py @@ -234,7 +234,7 @@ class ConnectionHandler: def find_cert(self): if self.config.certforward and self.server_conn.ssl_established: - return self.server_conn.cert, self.config.certstore.gen_pkey(self.server_conn.cert) + return self.server_conn.cert, self.config.certstore.gen_pkey(self.server_conn.cert), None else: host = self.server_conn.address.host sans = []