[提琴手]与& # 039;xxxxx.com & # 039失败了。& ltbr/>;系统。Security.SecurityException无法与server . fiddler . network . https & amp;gt;HTTPS与因特尔握手
最近,当使用模拟发送get请求时:
[Fiddler]连接到“xxxxx.com”失败。系统。安全。安全 ......
最近利用模拟发get请求的时候出现:
[Fiddler] The connection to ‘xxxxx.com' failed.<br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https>
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> HTTPS handshake to intelte-风君子博客](http://img01.konggangfuwu.com/HCT_20221114/2022111420221113220214860.png)
抓包的结果出现Tunnel to
对应的Header是:
![[Fiddler] The connection to 'xxxxx.com' failed. <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https> HTTPS handshake to intelte-风君子博客](http://img01.konggangfuwu.com/HCT_20221114/2022111420221113220215505.png)
1、如何看我们请求的网站的TLS协议是哪种?
![[Fiddler] The connection to 'xxxxx.com' failed. <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https> HTTPS handshake to intelte-风君子博客](http://img01.konggangfuwu.com/HCT_20221114/2022111420221113220217322.png)
通过该请求就能看到所用的协议;
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> HTTPS handshake to intelte-风君子博客](http://img01.konggangfuwu.com/HCT_20221114/2022111420221113220222572.png)
默认的协议tls1.2是没有的,需要手动添加下;
如何添加:
点击上图中的红色方框:见下图
![[Fiddler] The connection to 'xxxxx.com' failed. <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https> HTTPS handshake to intelte-风君子博客](http://img01.konggangfuwu.com/HCT_20221114/2022111420221113220223286.png)
然后补充tls1.2就行