|
Forums -> Security Library Forum
Unable to import the PFX file! [error code = 2] |
|
|
by Michal posted on 2004/09/21 |
|
Error occures while i am trying to create a certificate:
Certificate cert = Certificate.CreateFromPfxFile(certificatePfxFile, password);
Org.Mentalis.Security error '80131500'
Unable to import the PFX file! [error code = 2]
When trying to create certificate using my library (COM) from .NET application - everything is OK.
When trying from ASP ... error occures.
Running on:
Windows2000 Server SP4
Org.Mentalis.Security v1.0.13.709
Any help? |
by Michal posted on 2004/09/22 |
|
problem was solved specifying optional parameter:
bool exportable = false;
Certificate cert = Certificate.CreateFromPfxFile(certificatePfxFile, password, exportable);
|
|
|