[Fiddler] The connection to 'xxxxx.com' failed.
System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https> HTTPS handshake to intelte

时间:2023-03-08 23:48:08
[Fiddler] The connection to 'xxxxx.com' failed.  <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to intelte

最近利用模拟发get请求的时候出现:

[Fiddler] The connection to ‘xxxxx.com' failed. 
<br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt;
HTTPS handshake to inteltechniques.com (for #53) failed. System.IO.IOException 由于远程方已关闭传输流,身份验证失败。

抓包的结果:

[Fiddler] The connection to 'xxxxx.com' failed.  <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to intelte

抓包的结果出现Tunnel to

对应的Header是:

[Fiddler] The connection to 'xxxxx.com' failed.  <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to intelte

1、如何看我们请求的网站的TLS协议是哪种?

[Fiddler] The connection to 'xxxxx.com' failed.  <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to intelte

通过该请求就能看到所用的协议;

2、Fiddle模拟https所用的协议:

Tools  -> Options  ->Https

[Fiddler] The connection to 'xxxxx.com' failed.  <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to intelte

默认的协议tls1.2是没有的,需要手动添加下;

如何添加:

点击上图中的红色方框:见下图

[Fiddler] The connection to 'xxxxx.com' failed.  <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to intelte

然后补充tls1.2就行