locked
Unprotect-CmsMessage on a Remote Host RRS feed

  • Question

  • Hello Guys,

    I have a little issue with the Unprotect-CmsMessage cmdlet.

    Please have a look on the following scenario:

    Preparation:

    • User A on Server A encrypted a pw-file with a self signed cert
    • User A wrote a "Script_A" on Server A with the Unprotect-CmsMessage cmdlet in it

    Case 1:

    • User A is logged on a remote Session on Server A
    • User A on Server B invokes "Script_A" on Server A
    • RESULT: pw-file is decrypted!

    Case 2:

    • User A is NOT logged on a remote Session on Server A
    • User A on Server B invokes "Script_A" on Server A
    • RESULT: pw-file is NOT decrypted!  :(

    Summary:

    • Data could not be decrypted without the user logged

    Maybe anyone has an idea to get Case 2 running?

    many thanks,

    Frank 

    • Moved by Bill_Stewart Thursday, December 20, 2018 9:16 PM Unanswerable drive-by question
    Thursday, October 18, 2018 12:48 PM