Calling Web Service from COM+ application over HTT
Hallo everyone.
I have a problem that cannot exactly reproduce.
We have a .NET 2005 COM+ application that is calling a 3rd party Web Service over HTTPS. The Web Service uses a self-signed SSL certificate that we have been provided with and installed in our server. The communication is done mostly successful. The problem is that in the production environment, from time to time, the application cannot communicate. The error received is: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel".
This may occur after several successful calls, even in once in 2 or more days.
As a solution we found out that if we shut down the COM+, the communication is successful again.
We are not sure what the issue is. Some thoughts are that it has something to do with SSL caching. Maybe we are wrong.
Any hints about the problem or a possible solution?
We do not want to resolve it by overriding the SSL errors (ServerCertificateValidationCallback).
It is quite urgent...
Thank you all in advance.
|