Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15628

SSL/TLS issue cropped up in old code (visual studio 2013)

$
0
0
I have some software that I wrote a long time ago and it has not been updated at all. The software communicates with a server to send files up and collect files and it worked fine until the 7th October, but on the 9th it broke (I didn't do anything to my software!) Here is a little code snippet of where it goes wrong:

Private Function CookieMonster(ByVal cookiestring As String) As Boolean

Application.DoEvents()
Dim stringlist As String() = cookiestring.Split("=")
Dim request As HttpWebRequest = Nothing

MakeRequest(request, stringlist)

Try
Dim myResponse As WebResponse = Nothing
myResponse = request.GetResponse()]


It's that last line that throws an error:

"The request was aborted: Could not create SSL/TLS secure channel"

I have tried compiling this in Visual Studio 2019 as well (I just copied the project straight across) but I still can't get it to work and have no idea unfortunately. Does my code need updating? If this isn't enough, I can post other relevant bits.

Viewing all articles
Browse latest Browse all 15628

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>