Error when loading certificate on different machine

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AK

    Error when loading certificate on different machine

    Hi,

    I'm trying to load a certificate, but get an exception saying " The
    specified network password is not correct.". There's no password for
    the certificate, so I don't think it has anything to do with that.
    Here's the code:

    X509Certificate 2 x509Cert = new X509Certificate 2("certificate. p12");

    It works fine on my machine but fails when trying it on a different
    machine (a virtual machine, not sure if that makes a difference?).

    Has anyone seen this before?

    Thanks,

    AK
Working...