Closed TurnItOff-OnAgain closed 2 years ago
Hi @TurnItOff-OnAgain, this is a bug. It's leftover code which needs removing.
Thanks for bringing to my attention. A new build of 4.4.43 should be on the PSgallery in a few minutes which will resolve the issue.
Running PasswordState on Server 2022. Freshly set up server, migrated PasswordsState Environment, using the API key for the password list containing the passwords I am updating, running the script right on the Passwordstate server. I've never used this module before, used to use a different one that is no longer in development.
Running this loop to update the local admin passwords saved from LAPS in AD to pstate
Gives this error when it gets to an entry that hits the second if comand to run the Set-PasswordStatePassword command.
The password entry does actually update though. It also completely stops the loop on the first instance of updating a password.
Running that error through google had me checking security protocols
PS C:\Windows\system32> [System.Net.ServicePointManager]::SecurityProtocol Tls, Tls11, Tls12
PS C:\Windows\system32> [enum]::GetNames([Net.SecurityProtocolType]) SystemDefault Ssl3 Tls Tls11 Tls12 Tls13
This really isn't in my wheelhouse though, so I'm kinda lost from here.