Powershell +签名问题

发布于 2024-12-13 21:31:05 字数 391 浏览 2 评论 0原文

我有两个 PS 脚本,一个在本地计算机上,另一个在远程计算机上。本地机器正在执行以下操作

  1. 将文件从本地机器复制到远程机器
  2. 要求远程脚本对复制到远程机器的文件进行签名(远程机器和远程脚本位于同一台机器_
  3. 文件之后已签名,将签名的文件复制回源文件夹

但是我在这里面临一个问题,问题是一旦远程服务器尝试对文件进行签名,它就会给我一条消息。

没有为存储或对象指定提供者

我相信这不是 powershell 错误并且在某种程度上与访问问题有关,但我真的无法自己弄清楚。

远程服务器由发布工程团队管理,我不想在那里进行任何更改。

请提出

感谢和问候

I have two PS scripts, one is on a local machine while the other is on the remote machine. The local machine is performing the following operations

  1. Copying files from the local machine to the remote machine
  2. Asking the remote script to sign the files that are copied to the remote machine (the remote machine and the remote script are located on the same machine_
  3. After the files have been signed , copies the signed files back to the source folder

However I am facing an issue here . the issue is as soon as the remote server tries to sign the files it gives me a message

no provider is specified for the store or the object

I believe this is not a powershell error and is somehow related to access issues,but i really cant figure it out on my own.

The remote server is managed by the release engineering team and I would not like to make any changes there.

Please suggest

Thanks and Regards

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

庆幸我还是我 2024-12-20 21:31:05

我认为签名证书将由发布工程团队成员安装。因此,当您尝试使用您的凭据调用脚本时,它会失败。您可以要求您的发布工程团队成员之一使用他的凭据从您的计算机运行脚本。如果他们成功,那么这是因为您的帐户没有安装签名证书。 (通常出于安全原因,发布工程团队不会愿意向其他人提供访问权限)

I think signing certificate would have been installed by release engineering team member. So when you are trying invoke script with your credential it fails. You can ask one of your release engineering team member to run the script from your machine with his credentials. If it succeeds for them then it is because of signing certificate is not installed for your account. (Normally release engineering team would not prefer to provide access to other due to security and safety reasons)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文