title: Using client certificate not in certificate store
body: <p>I'm trying to authenticate myself against WebService using my client certificate, but, for some reasons (I explain), I don't want to load certificate from store, rather read it from disc.</p>
  
  <p>The following:</p>
  
  <pre><code>// gw is teh WebService client
  X509Certificate cert = new X509Certificate(PathToCertificate);
  _gw.ClientCertificates.Add(ClientCertificate());
  ServicePointManager.ServerCertificateValidationCallback = (a,b,c,d) =&gt; true;
  _gw.DoSomeCall();
  </code></pre>
  
  <p>returns always 403 - the Service doesn't authorize me. But, when I save that certificate into CertStore, it works. (As stated in MSDN.)</p>
  
  <p>Is it possible to use certificate not in store?</p>
  
  <p>(the reason is, that I got windows service(client) sometimes calling webservice(server), and after unspecified amount of time the service 'forgets' my certificates and doesnt authorize against server, with no apparent reason)</p>