X509Certificate2Collection import not working on server... RRS feed

  • Question

  • Hi,

    I have a p12 certificate collection which I'm trying to load programmatically on my IIS server (this is an mvc service).

    Loading the collection works great on my local machine, but when I move it to the server, the import fails with 'an internal error occurred'.  I have the certificate stored in a database, which I'm reading and supplying as a byte[] to the import method.

    Has anybody come across this before or know what the solution is to getting it working on a Windows 2008 R2 server (IIS 7).



    Monday, June 11, 2012 2:12 PM

All replies

  • On the server machine, can you dump the blob using certutil? i.e. certutil -dump <file>

    What is the output?


    Thursday, June 14, 2012 5:38 PM