title: How do I tell WCF to skip verification of the certificate?
body: <p>Trying to make a <a href="http://en.wikipedia.org/wiki/Web_service" rel="noreferrer">web service</a> call to an <a href="http://en.wikipedia.org/wiki/HTTP_Secure" rel="noreferrer">HTTPS</a> endpoint in my <a href="http://en.wikipedia.org/wiki/Microsoft_Silverlight" rel="noreferrer">Silverlight</a> application results in this error: "Could not find a base address that matches scheme https for the endpoint with binding WSHttpBinding. Registered base address schemes are [http]"</p>
  
  <p>The same problem as was posted here:</p>
  
  <p><a href="http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/4c19271a-f5e6-4659-9e06-b556dbdcaf82/" rel="noreferrer">http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/4c19271a-f5e6-4659-9e06-b556dbdcaf82/</a></p>
  
  <p>So, one of the suggestions was this: "The other issue might be that the cert name and the machine name don't agree, and this is causing <a href="http://en.wikipedia.org/wiki/Windows_Communication_Foundation" rel="noreferrer">WCF</a> to have fits. If this is the case, you can tell WCF to skip verification of the cert."</p>
  
  <p>Well, I <strong>do</strong> get a certificate error because this is just a demo server.</p>
  
  <p>Here's how I set up my client:</p>
  
  <pre><code>BasicHttpBinding binding = new BasicHttpBinding();
  binding.Security.Mode = BasicHttpSecurityMode.Transport;
  _ws = new AnnotationService.AnnotationClient(binding, new EndpointAddress(myAddress));
  </code></pre>
  
  <p>How can I tell WCF to skip the verification?</p>