code snippet
Public Class SSLFullTrustCertificatePolicy
Implements ICertificatePolicy
Public Function CheckValidationResult(ByVal srvPoint As
System.Net.ServicePoint, ByVal certificate As
System.Security.Cryptography.X509Certificates.X509 Certificate, ByVal request
As System.Net.WebRequest, ByVal certificateProblem As Integer) As Boolean
Implements System.Net.ICertificatePolicy.CheckValidationResul t
Return True
End Function
End Class
System.Net.ServicePointManager.CertificatePolicy = New
SSLFullTrustCertificatePolicy
-----------
"AXP09" wrote:
I wrote a Web service that is called from unmanaged C++\ATL client
application. It worked fine until I configure web service to require SSL.
As I understand from
http://msdn.microsoft.com/library/de...SecNetHT14.asp
now I have to install CA certificate on the client computer. Is there way to
avoid it?