3

我创建了一个 asp.net MVC 4 Internet 应用程序并启用了 Google 身份验证。

成功登录后,OAuthWebSecurity.VerifyAuthentication 方法中的“IsSuccessful”属性值始终为 false。

当我在另一台机器上运行相同的解决方案时,它工作正常。

我也关闭了防火墙并尝试了,没有运气。

我跟踪并发现 OAuthWebSecurity.VerifyAuthentication 方法发生了一些异常。

这是异常详细信息:

DotNetOpenAuth.Messaging.ProtocolException occurred  
HResult=-2146233088
Message=Web request to 'https://www.google.com/accounts/o8/ud' failed.
Source=DotNetOpenAuth.Core

Inner Exception: 
The request was aborted: Could not create SSL/TLS secure channel.

我真的很感激任何帮助。

4

0 回答 0