X509Certificate2 in .NET 1.1

Discussion in 'ASP .Net Security' started by pseongho, May 5, 2006.

  1. pseongho

    pseongho Guest

    Is anyone knows how to get a certificate from the file direclty in .NET 1.1?
    We found a way to do this in .NET 2.0;

    X509Certificate2 cert = new X509Certificate2(certFilename, thePassword,
    X509KeyStorageFlags.PersistKeySet);
    proxy.ClientCertificates.Clear();
    proxy.ClientCertificates.Add(cert);
    proxy.CallTheWebService(args);

    The new X509Certificate2 constructor accepts the certificate file name,
    password and flag and with this, I don't have to install the certificate file
    (*.pfx) into the store.

    I'm looking for a way to grap PFX file and add to HttpWebConnect object to
    make a connection to a server in .NET 1.1 frame work. Now, I only can find a
    way to do this with *.cer file not with *.pfx in .Net 1.1. Anyone who can
    help?
    pseongho, May 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Elmhorst
    Replies:
    2
    Views:
    482
    Bassel Tabbara [MSFT]
    Jul 8, 2003
  2. dave
    Replies:
    0
    Views:
    1,270
  3. John Howard
    Replies:
    2
    Views:
    610
    Amber
    Jan 12, 2004
  4. daed
    Replies:
    0
    Views:
    1,182
  5. dpomt
    Replies:
    2
    Views:
    849
    Steven Cheng[MSFT]
    Nov 6, 2006
Loading...

Share This Page