0

我在连接到 CA 服务器时遇到问题。我的想法是通过远程连接吊销证书。实际上,我是本地机器上的管理员,也是 CA 服务器上的管理员。这个想法与以下链接非常相​​似:示例

现在我的问题在于以下部分:

certView.OpenConnection(strServer + "\" + strCAName);

如果我通过这条线,它会告诉我错误:

CCertView::OpenConnection 操作被用户取消。0x800704c7 (WIN32: 1223)

有人现在这个错误可以帮助我吗?

我可以通过这样的远程连接成功吊销证书:

CCertAdmin caAdmin = new CCertAdmin(); caAdmin.RevokeCertificate("strServer", "strSerialnumber", reason, DateTime.Now);

所以我认为与ca-server的连接没有问题。

4

1 回答 1

0

Ok i found the solution with the help of the microsoft support.

The problem is that the installationfile of the RSAT 64Bit (Remote Server Administration Tools) is not complete. So there are files missing. The 32Bit version of the RSAT is complete.

Now my problem was that i was programming a webapplikation on a Windows 7 64Bit with RSAT 64Bit installed. But my webapplication was running in 32Bit. So then the error occurs cause there are missing some important files.

The solution is to extract the 32Bit version of RSAT like this: Microsoft Support

or

if it is possible you develope your webapplikation on a Windows 7 32Bit with RSAT in 32Bit. Then you won't have any trouble.

于 2012-08-10T13:11:49.193 回答