‎2007 Feb 16 11:44 PM
Dear all
I need to implement the following scenario. I have given the option that a function can be call as web service. At this point every thing is ok. In the client side they have an application in .NET, to link this to they have installed a Client Certificate in the IE Browser to authenticated in our system (Apache server). When they executed URL in the Browser every the connection is OK. When they executed the .NET applications the following error appears :
ERRO:The underlying connection was closed: Could not establish secure channel for SSL/TLS.
System.Net.WebException: The underlying connection was closed: Could not establish secure channel for SSL/TLS. ---> System.TypeInitializationException:
The type initializer for "System.Net.SecureChannel" threw an exception. ---> System.EntryPointNotFoundException: ? at System.Net.NativeNTSSPI.EnumerateSecurityPackagesW(Int32& pkgnum, IntPtr& arrayptr) at System.Net.SSPISecureChannelType.EnumerateSecurityPackages(Int32& pkgnum, IntPtr& arrayptr) at System.Net.SSPIWrapper.EnumerateSecurityPackages(SSPIInterface SecModule) at System.Net.SSPIWrapper.GetSupportedSecurityPackages(SSPIInterface SecModule) at System.Net.SecureChannel..cctor() --- End of inner exception stack trace --- at System.Net.SecureChannel..ctor(String hostname, X509CertificateCollection clientCertificates) at System.Net.TlsStream.Handshake(ProtocolToken message) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetResponse() at testetmn.Teste.btnConnect_Click(Object sender, EventArgs e) in e:\develop\toupeira\testconnectivity\teste.aspx.cs:line 67
They have tried to call the certificate in a file and the same error appears.
Thus any one has a solution for this scenario?
Best regards
Thanks in advanced
PMCPR
‎2007 Feb 18 6:18 AM
are you calling ABAP RFC FM as a webservice from .net application? which system requires a certificate the ABPA enigine or .net
‎2007 Feb 18 12:24 PM
Dear all.
I'm going to explain better my question. Yes we are calling a Webservice from a .net application. But in the middle we have a Apache server that required autentication, and for this reason the certificate must be on the Side off the .NET application.
We have install the client Certificate on the IE browser. If we call the URL off the webservice from the browser every the connection was made. But when call the URL from the .NET application the error appears.
Best Regards
Thanks in advanced.
‎2007 Feb 18 12:45 PM