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. Advertisements

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:
    689
    Bassel Tabbara [MSFT]
    Jul 8, 2003
  2. dave
    Replies:
    0
    Views:
    1,449
  3. John Howard
    Replies:
    2
    Views:
    725
    Amber
    Jan 12, 2004
  4. Veeresh
    Replies:
    3
    Views:
    567
    Veeresh
    Jul 10, 2004
  5. =?Utf-8?B?TWFya3VzIE1jR2Vl?=

    Migrating ASP.NET projects between VS.NET 2002 and VS.NET 2003

    =?Utf-8?B?TWFya3VzIE1jR2Vl?=, Dec 2, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    529
    =?Utf-8?B?TWFya3VzIE1jR2Vl?=
    Dec 6, 2004
  6. \A_Michigan_User\

    Write ASP.NET 1.1 code with VB.net or VS.net ?

    \A_Michigan_User\, Aug 15, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    1,956
    Saber
    Aug 16, 2005
  7. daed
    Replies:
    0
    Views:
    1,724
  8. dpomt
    Replies:
    2
    Views:
    1,306
    Steven Cheng[MSFT]
    Nov 6, 2006
Loading...