【发布时间】:2012-01-28 12:22:06
【问题描述】:
System.IO.FileNotFoundException: CertEnroll::CX509PrivateKey::Create: 该系统找不到指定的文件。 0x80070002 (WIN32: 2)
上述错误是我尝试使用 CertEnroll.dll 中的 CX509PrivateKeyClass 类创建私钥以生成 CSR 时引发的异常。
这似乎只发生在我尝试执行部署在 Windows 2008 服务器上的代码时。
它在 Windows 7 下运行良好。
【问题讨论】:
-
您找到解决方案了吗?我遇到了完全相同的问题...
标签: .net windows-server-2008 x509certificate certenroll