简体   繁体   English

无法创建SSL / TLS安全通道,并且客户端和服务器无法通信,因为它们不具有通用算法

[英]Could not create SSL/TLS secure channel AND The client and server cannot communicate, because they do not possess a common algorithm

I have successfully built the Web Application but when I try to view the app in the browser it throws "Could not create SSL/TLS secure channel". 我已经成功构建了Web应用程序,但是当我尝试在浏览器中查看该应用程序时,它会抛出“无法创建SSL / TLS安全通道”。 I tried changing the compile to Debug mode and then it throws "The client and server cannot communicate, because they do not possess a common algorithm" errors. 我尝试将编译方式更改为“调试”方式,然后抛出“客户端和服务器无法通信,因为它们不具有通用算法”错误。

I have also checked the Regedit.exe for the SSL Protocols and eveything is enabled. 我还检查了Regedit.exe中的SSL协议,并启用了eveything。 I also have the client side test certificate in installed on my machine. 我的计算机上还安装了客户端测试证书。

My concern is does the Web Application have the ability to pick the installed certificate from the App Pool or should I write any specific code to use the that particular certificate? 我担心的是,Web应用程序是否有能力从应用程序池中选择已安装的证书,还是应该编写任何特定的代码来使用该特定证书?

I'm not familiar with .NET, but this kind of error typically occurs if the server is not configured to use a certificate. 我不熟悉.NET,但是如果服务器未配置为使用证书,则通常会发生这种错误。 In this case the only ciphers it can offer are ADH etc, ie ciphers which don't require a certificate. 在这种情况下,它只能提供ADH等密码,即不需要证书的密码。 Because in this case the connection would be vulnerable to man-in-the-middle attacks most clients don't support such ciphers by default and thus you get the error message that client and server have no ciphers in common. 因为在这种情况下,该连接很容易受到中间人攻击,所以大多数客户端默认情况下都不支持此类密码,因此您会收到错误消息,即客户端和服务器没有共同的密码。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 XmlReader.Create错误“无法创建SSL / TLS安全通道” - XmlReader.Create error “Could not create SSL/TLS secure channel” 防止错误无法在某些服务器上创建 SSL/TLS 安全通道 - Prevent error could not create SSL/TLS secure channel on some servers SOAP错误:请求已中止:无法创建SSL / TLS安全通道 - SOAP Error: The request was aborted: Could not create SSL/TLS secure channel 我如何修复 ASP.NET 中的无法创建 SSL/TLS 安全通道错误 - How do i fix the Could not create SSL/TLS secure channel Error in ASP.NET vb无法为SSL / TLS建立安全通道 - vb Could not establish secure channel for SSL/TLS 该请求已中止:使用X509Certificate2时无法创建SSL / TLS安全通道 - The request was aborted: Could not create SSL/TLS secure channel when using X509Certificate2 VB。 NET:请求被中止:无法在 WebClient 上创建 SSL/TLS 安全通道 - VB. NET: The request was aborted: Could not create SSL/TLS secure channel on WebClient IIS 阻止我的请求。 无法创建 SSL/TLS 安全通道 - IIS Blocking My Request. Could not create SSL/TLS secure channel ASP.NET“请求被中止:无法创建 SSL/TLS 安全通道”也出现在配置的 servicepointmanager 中 - ASP.NET "The request was aborted: Could not create SSL/TLS secure channel" occurs also with configured servicepointmanager VB.NET Web服务无法连接:“无法创建SSL / TLS安全通道” - VB.NET Web Service connection impossible : “Could not create SSL/TLS secure channel”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM