1518
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2020 10:32 PM
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.
Labels:
- Labels:
-
Other Security Topics
1 Reply 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 04:31 AM
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
https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel
Something like - [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
HTH,
Manoj
