Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
ribasman
Posts: 13
Joined: Thu Dec 22, 2011 9:16 pm

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

Tue Feb 04, 2020 11:13 am

Hi,

Getting into this certificate error message and i believe it has to be with your server.
What can i do to solve this, please.

Best regards
Nuno Ribeiro

User avatar
oss
Site Admin
Posts: 5878
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

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

Tue Feb 04, 2020 11:43 am

which url please?

ribasman
Posts: 13
Joined: Thu Dec 22, 2011 9:16 pm

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

Tue Feb 04, 2020 7:15 pm

Just an example
https://rest.opensubtitles.org/search/m ... uageid-por

But your question striked me that might the secure layer protocol in the http(s) be the culprit and it was, but still a rather strange since yours examples uses the https protocol

So for the moment I can search subtitles like http://rest.opensubtitles.org/search/mo ... uageid-por

User avatar
oss
Site Admin
Posts: 5878
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

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

Wed Feb 05, 2020 10:43 am

Hi

it is working now (and before too, it was not working like 3 hours). Anyway, thanks for pointing out

ribasman
Posts: 13
Joined: Thu Dec 22, 2011 9:16 pm

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

Sat Feb 08, 2020 9:20 am

Problem pointed out still remains. Can't use 'https' in my request.
Luckly http works.

User avatar
oss
Site Admin
Posts: 5878
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

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

Sat Feb 08, 2020 11:11 am

please send us CURL example how it is not working. It is working here.

Also make sure you are not playing with NS (hosts) file

ribasman
Posts: 13
Joined: Thu Dec 22, 2011 9:16 pm

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

Sun Feb 09, 2020 12:59 am

Not using Curl. Never did.
Always use HttpWebRequest in .Net

Here's some code:
Dim postString As String = "https://rest.opensubtitles.org/search..."

Dim postReq As HttpWebRequest = DirectCast(WebRequest.Create(postString), HttpWebRequest)
With postReq
.Method = "POST"
.KeepAlive = True
.ContentType = "text/xml"
.UserAgent = "***********"
End With

Dim postreqstream As Stream = postReq.GetRequestStream()
where things get wrong when server replies "The request was aborted: Could not create SSL/TLS secure channel"
What can i say. Always worked pretty good for me.

User avatar
oss
Site Admin
Posts: 5878
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

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

Mon Feb 10, 2020 12:36 pm

did you changed your hosts file ? (do you know to which IP address you are connecting to? If yes, write us)

I know what is the problem, but want to understand more and the best way is to emulate it with CURL.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 34 guests