Hi Thwack Community,
I want to call Rest API on SAM Server.
Getting this message in PowerShell:
Invoke-RestMethod -Uri "https://SolarWinds-Orion:17774/SolarWinds/InformationService/v3/Json/Query?query=SELECT+TOP+1+NodeID+FROM+Orion.Nodes"
Invoke-RestMethod: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
When I look on the Orion Server in the certlm (Certificates/Personal/Certificates) I can see the Certificate is valid, however in Certificate Status I see "This CA Root certificate is not trusted because it is not in the Trusted Root Certification Authorities store."
I assume this is the issue?
Is there a way in the command to skip this checking?
How can I fix that?
Thanks,
Andy