在过去的5天里,我的应用程序日志中出现了许多奇怪的错误。下面是堆栈跟踪:
Error: 140428615087936:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:../deps/openssl/openssl/ssl/s3_pkt.c:1234:SSL alert number 48
at CleartextStream._pusher (tls.js:674:24)
at SlabBuffer.use (tls.js:217:18)
at CleartextStream.Crypto
我收到了这个错误
File "C:\Python27\lib\ssl.py", line 844, in connect
self._real_connect(addr, False)
File "C:\Python27\lib\ssl.py", line 835, in _real_connect
self.do_handshake()
File "C:\Python27\lib\ssl.py", line 808, in do_handshake
self._sslobj.do_handshake()
ssl
在调整web代理代码时,我注意到如果我在带有UAC (用户访问控制)的应用程序中运行代码,就会得到异常。
下面是抛出异常的位置:
sslStream.AuthenticateAsServer(_certificate, false, SslProtocols.Tls | SslProtocols.Ssl3 | SslProtocols.Ssl2, false);
这是我得到的错误( UAC)
The server mode SSL must use a certificate with the associated private key.
第一个问题:为什么?
第二个问题:还有其他选择吗?我
我在Visual Studio 2010中安装软件包时遇到问题。当我运行Package Manager控制台时,它显示以下错误:
PM> Install-Package wpf.themes
Install-Package : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
At line:1 char:16
+ Install-Package <<<< wpf.themes
+ Cat