title: Calling service using certificate :Error - "Keyset does not exist"
body: <p>I am currently trying to access a service provided by a 3rd party. They have issued us a certificate in PKCS format. The certificate is installed in Local computer - Trusted root directory. </p>
  
  <p>Our application at run time finds this certificate and sends it to the authentication URL hosted by the 3rd party, where it is authenticated and the SAML tokens are issued. This is then used to call the actual service that does the functionality we desire.</p>
  
  <p>when I run my application consuming this service via the service reference in the development machine [Windows 7] everything works smoothly. </p>
  
  <p>Now the pain point is since we have a Citrix environment where the testing would take place, we get an error as </p>
  
  <blockquote>
    <p>Exception in METHOD: SOAP security negotiation with "Service URL" for
    target failed. Inner Exception:
    System.Security.Cryptography.CryptographicException: Keyset does not
    exist.</p>
  </blockquote>
  
  <p>Can any one help me in resolving this issue, as am unable to reproduce it my local and it happens only in the server OS, am not sure if its an issue with privileges or some code issue.</p>