If you are using HttpWebRequest in your application, you may receive “The request was aborted: Could not create SSL/TLS secure channel” error.
This error might be caused by the mismatch SSL/TLS protocol between the server and client. The solution is to make sure that both client and server have a common protocol version supported. Add following line in your code to let the client be able to connect to as many servers as possible (rather than to be as secure as possible).
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 Or SecurityProtocolType.Tls Or SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls12
FEATURED TAGS
ai
api
automation
azure
azure cosmos db
azure openai
azure vm
base64
dax
docker
excel
execution plan
hyper-v
infrastructure
m
machine learning
machine learning services
network
network card
performance
power automate
power bi
power bi report tricks
power query
powershell
python
qgis
query performance
regex
replication
snowflake
sql
sql script
sql server
sql server admin
sql server config
ssl
ssms
troubleshooting
unicode
vmware