Invoke-PolicyEvaluation with the new SqlServer module generates security error
0
votes
1
answer
60
views
Started getting error messages after uninstall of
PS
and install of the new module SqlServer
when evaluating policies on remote servers using Registered Servers and Invoke-PolicyEvaluation
cmdlet. It was working alright previously with the old PS
module but the new replacement module requires TrustServerCertificate=True
parameter which is missing from the syntax of Invoke-PolicyEvaluation . Error message is:
> A connection was successfully established with the server, but then an
> error occurred during the login process. (provider: SSL Provider,
> error: 0 - The certificate chain was issued by an authority that is
> not trusted
How can I make it work again?
Thank you
Asked by Stackoverflowuser
(1550 rep)
May 9, 2024, 08:09 AM
Last activity: May 9, 2024, 01:48 PM
Last activity: May 9, 2024, 01:48 PM