1

リモートマシンで暗号化/復号化中にいくつかの問題に直面しています。例:以下のコマンドを実行すると、次のエラーが発生します。

誰かがこの問題を解決する方法を知っていますか?

[remote machine]: PS C:\> Add-Type -assembly System.Security
[remote machine]: PS C:\> $passwordBytes = [System.Text.Encoding]::Unicode.GetBytes("Password!")
[remote machine]: PS C:\> $entropy = [byte[]](1,2,3,4,5)
[remote machine]: PS C:\> $encrytpedData = [System.Security.Cryptography.ProtectedData]::Protect($passw
ordBytes, $entropy, "CurrentUser")
Exception calling "Protect" with "3" argument(s): "The requested operation cannot be completed. The computer must be tr
usted for delegation and the current user account must be configured to allow delegation.
"
At line:1 char:71
+ $encrytpedData = [System.Security.Cryptography.ProtectedData]::Protect <<<< ($passwordBytes, $entropy, "CurrentUser")
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

よろしく、naresh

4

1 に答える 1

2

Bruce Payette のナイスブックのキャプター 13 で、マルチホップ環境での資格情報の転送を参照している可能性があります。

信頼できる仲介者を介してターゲット マシンに資格情報を安全に渡すことを可能にする CredSSP メカニズムが必要になる場合があります。

于 2012-07-20T04:06:37.717 に答える