mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
parent
d3a55cd3f0
commit
4604c25c60
@ -562,5 +562,6 @@ class TlsLayer(Layer):
|
||||
|
||||
# Some applications don't consider the CN and expect the hostname to be in the SANs.
|
||||
# For example, Thunderbird 38 will display a warning if the remote host is only the CN.
|
||||
if host:
|
||||
sans.add(host)
|
||||
return self.config.certstore.get_cert(host, list(sans))
|
||||
|
Loading…
Reference in New Issue
Block a user