TLS/SSL error while hitting Secure X API endpoint for oauth2 token generation from virtual machine, however able to hit same endpoint from local machine setup and getting the response.
Hitting the api endpoint for token generation from powershell console of virtual machine produces the below mentioned error
Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure
channel.
Have tried TLS 1.2 and 1.1 for API request.