Access X509Certificate Store from ASP.net 2.0

A

Ash

Hi,

I have coded a c# dll which accesses my certificate store retrieves a
certificate and signs some xml using the SignedXml class.
I wanted a webservice to access this dll and provided a web interface for
it, however when attempting to sign the xml i get an exception:

CryptographicExceptin: Keyset does not exist

This exception is raised when i try to access the private key of the
X509Certificate2 class.

My certificates are stored in a separate container with the Local Machine.

I run a small console application and it works fine, so i am assuming that
asp.net is having trouble with doing this.

Thanks

Ash
 

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,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top