【问题标题】:Team City Build and Import KeyTeamcity 构建和导入密钥
【发布时间】:2014-02-19 16:11:37
【问题描述】:

我在 Team City 遇到了这个问题 C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2455, 5):错误 MSB3325:无法导入以下密钥文件:MYKey.pfx。密钥文件可能受密码保护。要更正此问题,请尝试再次导入证书或手动将证书安装到具有以下密钥容器名称的强名称 CSP:VS_KEY_66BA484DC57004A4

可以使用 NANT 或 Team City 解决此问题吗?

【问题讨论】:

标签: teamcity nant


【解决方案1】:

听起来您运行 TeamCity 的用户可能没有该文件/文件夹的权限/权限。转到您的服务并将“TeamCity 构建代理服务”更改为管理员用户。除了默认的“本地系统”帐户之外,您始终可以使用您的帐户对此进行测试。

【讨论】:

  • 建议我试试看。
  • 它仍然已经在管理员用户下运行,但同样的错误。密钥文件受密码保护,如果这与原始问题有任何不同的话。
  • 我的错误略有不同,但这解决了它! Cannot import the following key file: . The key file may be password protected. To correct this, try to import the certificate again or import the certificate manually into the current user’s personal certificate store.Importing key file "my.pfx" was canceled.
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-03-23
  • 2013-01-02
  • 2011-01-29
  • 2013-05-09
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多