close

Kaspersky Endpoint Security 10 Icmp

SSL is required for a growing number of scenarios yet a public certificate which is produced by a trusted certificate authority is not always available. In such scenarios we use self signed certificates. The problems with these certificates is that all certificate validation mechanisms will fail. To overcome that we need to do the following:

1. Disable WCF certificate validation

<endpointBehaviors>         <behavior name="clientBehavior">           <clientCredentials>             <serviceCertificate>               <authentication certificateValidationMode="None"/>             </serviceCertificate>           </clientCredentials>         </behavior>       </endpointBehaviors>

2. Disable Http certificate validation

 ServicePointManager.ServerCertificateValidationCallback =
new RemoteCertificateValidationCallback(delegate  { return true;  });

3. Make sure that the domain name (of the site or service we call) and the certificate name that power the SSL channel must match.

Hope this helps

Manu


endpoint security default password     endpoint security cloud

TAGS

CATEGORIES