cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1407
Views
0
Helpful
1
Replies

TLS/SSL error while hitting Secure X API from virtual machine, however able to hit same endpoint from local machine setup.

 

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.

 

 

1 Reply 1

Manoj Papisetty
Cisco Employee
Cisco Employee
Going by your problem statement, you seem to have covered it already, but just try enabling all tls versions on powershell and see it it works -
https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel
Something like - [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"

HTH,
Manoj