X509Certificate2 in .NET 1.1

P

pseongho

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top