mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-28 12:15:00 +08:00
Py3: Send bytes to get_cert
This commit is contained in:
committed by
Maximilian Hils
parent
cd5ef042bb
commit
aa3d3290ee
@@ -25,7 +25,7 @@ class HTTPProtocol(object):
|
||||
if not self.pathod_handler.server.ssloptions.not_after_connect:
|
||||
try:
|
||||
cert, key, chain_file_ = self.pathod_handler.server.ssloptions.get_cert(
|
||||
connect[0]
|
||||
connect[0].encode()
|
||||
)
|
||||
self.pathod_handler.convert_to_ssl(
|
||||
cert,
|
||||
|
||||
Reference in New Issue
Block a user