最近,我们的一位客户在他们的服务器上安装了新证书。我在我的服务器上安装了包括Root证书的证书。从那以后我收到了以下错误。
“无法为具有权限的SSL / TLS建立安全通道”
错误会在0到10分钟之间突然抛出,同时不断请求并发布到Web服务。我创建了一个consale app,将方法和soap标题写入控制台,看看是否一切顺利。然后突然错误被抛出。 如果证书有问题,我甚至不能调用第一个方法“getsoapheader”。任何想法这个错误如何上升和原因。 我已经尝试了以下内容。
我还将应用程序邮寄给我们的客户进行测试。遗憾的是他们找不到错误。应用程序每次运行都很完美。我无法使用相同的代码在我的电脑上工作。
任何帮助都会被高度评价。
(1) Start webservice test
(x) Exit
1
28-6-2016 14:18:18 SoapHeader: bf2c890a-18c1-4fe0-8197-9da2bd37f0c0
28-6-2016 14:18:18: GetConstructorCLWorkOrderList date: 1
28-6-2016 14:18:18: GetConstructorCLWorkOrderList date: 1
28-6-2016 14:18:18: GetConstructorCLWorkOrderList date: 2
28-6-2016 14:18:19: GetConstructorCLWorkOrderList date: 3
28-6-2016 14:18:19: GetConstructorCLWorkOrderList date: 4
28-6-2016 14:18:19: GetConstructorCLWorkOrderList date: 5
28-6-2016 14:18:19: GetConstructorCLWorkOrderList date: 6
28-6-2016 14:18:19: GetConstructorCLWorkOrderList date: 7
28-6-2016 14:18:19: GetConstructorCLWorkOrderList date: 8
28-6-2016 14:18:20: GetConstructorCLWorkOrderList date: 9
28-6-2016 14:18:20: GetConstructorCLWorkOrderList date: 10
28-6-2016 14:18:20: GetConstructorCLWorkOrderList date: 11
28-6-2016 14:18:20: GetConstructorCLWorkOrderList date: 12
28-6-2016 14:18:20: GetConstructorCLWorkOrderList date: 13
28-6-2016 14:18:20: GetConstructorCLWorkOrderList date: 14
28-6-2016 14:18:20: GetConstructorCLWorkOrderList date: 15
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 16
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 17
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 18
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 19
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 20
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 21
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 22
28-6-2016 14:18:21: GetConstructorCLWorkOrderList date: 23
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 24
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 25
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 26
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 27
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 28
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 29
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 30
28-6-2016 14:18:22: GetConstructorCLWorkOrderList date: 31
28-6-2016 14:18:23: GetConstructorCLWorkOrderList date: 32
28-6-2016 14:18:23: GetConstructorCLWorkOrderList date: 33
28-6-2016 14:18:23: GetConstructorCLWorkOrderList date: 34
28-6-2016 14:18:23: GetConstructorCLWorkOrderList date: 35
28-6-2016 14:18:23: GetConstructorCLWorkOrderList date: 36
28-6-2016 14:18:23: GetConstructorCLWorkOrderList date: 37
28-6-2016 14:18:23: GetConstructorCLWorkOrderList date: 38
28-6-2016 14:18:24: GetConstructorCLWorkOrderList date: 39
28-6-2016 14:18:24: GetConstructorCLWorkOrderList date: 40
28-6-2016 14:18:24: GetConstructorCLWorkOrderList date: 41
28-6-2016 14:18:24: GetConstructorCLWorkOrderList date: 42
28-6-2016 14:18:24: GetConstructorCLWorkOrderList date: 43
28-6-2016 14:18:24: GetConstructorCLWorkOrderList date: 44
28-6-2016 14:18:24: GetConstructorCLWorkOrderList date: 45
28-6-2016 14:18:25: GetConstructorCLWorkOrderList date: 46
28-6-2016 14:18:25: GetConstructorCLWorkOrderList date: 47
28-6-2016 14:18:25: GetConstructorCLWorkOrderList date: 48
28-6-2016 14:18:25: GetConstructorCLWorkOrderList date: 49
28-6-2016 14:18:25: GetConstructorCLWorkOrderList date: 50
28-6-2016 14:18:25: GetConstructorCLWorkOrderList date: 51
28-6-2016 14:18:25: GetConstructorCLWorkOrderList date: 52
28-6-2016 14:18:25 GetWorkOrder start
28-6-2016 14:18:30 GetWorkOrder: 104159
28-6-2016 14:18:30 SoapHeader: c033f8da-1b4a-45f3-a160-7727b8086123
28-6-2016 14:18:30 GetWorkOrder start
28-6-2016 14:18:34 GetWorkOrder: 99055
28-6-2016 14:18:35 SoapHeader: 8eea7e21-23bd-4cf5-8d56-28606f8527b2
28-6-2016 14:18:35 GetWorkOrder start
28-6-2016 14:18:38 GetWorkOrder: 109876
28-6-2016 14:18:39 SoapHeader: 7df630db-c8e5-4bd6-9558-ea05cf541e4b
28-6-2016 14:18:39 GetWorkOrder start
28-6-2016 14:18:44 GetWorkOrder: 101382
Kan geen veilig kanaal tot stand brengen voor SSL/TLS met autoriteit acceptatie-webservice-xx.xxx.com.
-2146233087
De aanvraag is afgebroken: Kan geen beveiligd SSL/TLS-kanaal maken.
Server stack trace:
bij System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
bij System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
bij System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
bij System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
bij System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
bij System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
bij System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
bij System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
bij System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
bij Webservicetest.Gemma.GemmaWebService.Authenticate(String username, String password)
bij Webservicetest.Gemma.GemmaWebServiceClient.Authenticate(String username, String password) in C:\Webservicetest\Webservicetest\Service References\Gemma\Reference.cs:regel 14444
bij Webservicetest.Program.GetSoapHeader() in C:\Webservicetest\Webservicetest\Program.cs:regel 78
bij Webservicetest.Program.Validate() in C:\Webservicetest\Webservicetest\Program.cs:regel 131
bij Webservicetest.Program.StartWebserviceTest() in C:\Webservicetest\Webservicetest\Program.cs:regel 62
(1) Start webservice test
(x) Exit
答案 0 :(得分:0)
我现在最头疼。该awnser是一个Microsoft更新,安装在我的笔记本电脑上的同一天,客户端安装了新证书。让我在错误的地方搜索错误。如果您收到此错误,请删除以下更新。
Microsoft Windows安全更新(KB3163017)
删除此更新后,一切正常。