如何将 PFX 文件中的证书安装到 NT-AUTHORITY\NetworkService 的个人容器中?
我有一个 .PXF 文件,用于对我们的几个 .NET 程序集进行强命名。 VS2010/MSBUILD 似乎期望它位于运行 VS2010/MSBUILD 的用户帐户的个人容器中。当使用交互式用户帐户工作时,这一切都很好,但是当在构建代理上通过 TFS 2010 尝试自动构建时,构建代理使用的帐户(默认情况下)是 NT-AUTHORITY/NetworkService。
由于我无法以 NetworkService 身份登录交互式会话,因此我无法仅从交互式会话 shell 安装 PFX。
那么谁能告诉我如何在 NetworkService 帐户的个人证书存储中安装 PFX 证书?
I have a .PXF file used to strongly name several of our .NET assemblies. VS2010/MSBUILD seems to expect this to be in the personal container for the user account running VS2010/MSBUILD. This is all just fine and dandy when working in an interactive user account, but when atempting an automated build via TFS 2010 on the build agent the account used by the build agent (by default) is NT-AUTHORITY/NetworkService.
Since I cannot log in an interacive session as NetworkService I cant just install the PFX from an interactive sessions shell.
So can anyone tell me how I install a PFX certificate in the personal cert store of the NetworkService account?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
答案由 Richard 转发自 serverfault
您需要打开网络服务证书存储,并且添加它。
开店:
mmc.exe
(“远程过程调用 (RPC)”默认作为网络服务运行)
Answer Courtesey of Richard Reposed from serverfault
You need to open the Network Service certificate store, and add it.
To open the store:
mmc.exe
("Remote Procedure Call (RPC)" run as Network Service by default)