Capicom load certificate

From: J C via .NET 247 (anonymous_at_dotnet247.com)
Date: 06/09/05


Date: Thu, 09 Jun 2005 09:12:01 -0700

Hi,

we are developing with .NET 1.1 and using Capicom 2.1.0.1 to sign files. We created a function that loads a certificate from a pfx file and signs a file. This function worked properly in our development environment, but in production environment we get the following error trying to load the pfx file:

System.IO.FileNotFoundException: The system cannot find the file specified.
at CAPICOM.CertificateClass.Load(String FileName, String Password, CAPICOM_KEY_STORAGE_FLAG KeyStorageFlag, CAPICOM_KEY_LOCATION KeyLocation)

We verified that the filename parameter is OK and we can import the certificate from IE. We tried also to load the pfx using the Load method of Capicom.Store class, but the we get the same error. We are not able to reproduce the error in other servers, only in the production environment (W2K Server SP4).

Has anybody any hint about this issue?

Thank you

--------------------------------
From: J C

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>0ODZQLznRUeW89tImVvfYQ==</Id>