Invoke-RestMethod – Could not establish trust relationship for the SSL/TLS secure channel
Just sharing another TIP from our real-world experience that we have gathered from one of the automation where we are using REST API to perform some operations. On connecting the rest API using Invoke-Restmethod PowerShell we were getting error: The underlying connection was closed – Could not establish trust relationship for the SSL/TLS secure…