Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Tls13 #85

Open
thanh858036 opened this issue May 28, 2020 · 9 comments
Open

Problem with Tls13 #85

thanh858036 opened this issue May 28, 2020 · 9 comments
Labels
help wanted Extra attention is needed insufficient info There is not enough information about the issue.

Comments

@thanh858036
Copy link

i use netframework 4.8 and set httpRequest.SslProtocols = SslProtocols.Tls13 and it error Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm

@grandsilence
Copy link
Member

grandsilence commented May 28, 2020

Is server supports TLS 1.3?

@grandsilence grandsilence added help wanted Extra attention is needed insufficient info There is not enough information about the issue. labels May 28, 2020
@thanh858036
Copy link
Author

Is server supports TLS 1.3?

yes website use TLS 13 manga1001.com

@cod3d
Copy link

cod3d commented Aug 23, 2020

same issue with instagram

@grandsilence
Copy link
Member

Windows 10 2004 Release or lower? NT Kernel should support TLS 1.3.

@thanh858036
Copy link
Author

Windows 10 2004 Release or lower? NT Kernel should support TLS 1.3.

i used win 10 ver 1909

@cod3d
Copy link

cod3d commented Aug 23, 2020

Fixed already.
I changed target framework to 4.8 and set SslProtocols here: click
to
public SslProtocols SslProtocols { get; set; } = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12 | SslProtocols.Tls13;

Then go to click
and changed to
sslStream.AuthenticateAsClient(address.Host, new X509CertificateCollection(), SslProtocols, true);

also I changed from click
to
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;

After all this I recompiled the Leaf library and it works fine!

@thanh858036
Copy link
Author

Fixed already.
I changed target framework to 4.8 and set SslProtocols here: click
to
public SslProtocols SslProtocols { get; set; } = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12 | SslProtocols.Tls13;

Then go to click
and changed to
sslStream.AuthenticateAsClient(address.Host, new X509CertificateCollection(), SslProtocols, true);

also I changed from click
to
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;

After all this I recompiled the Leaf library and it works fine!

only worked with instagram not work with my site
Unable to establish SSL-connection with HTTP-server

@Zeokat
Copy link

Zeokat commented Oct 12, 2020

Same problem here, seems that the error is now present in many websites. Tryed to investigate the issue but i can't find how to solve this.

@Zeokat
Copy link

Zeokat commented Nov 15, 2020

Maybe you can vote up my question at stackoverflow to try to solve this issue: https://stackoverflow.com/questions/64848260/problem-with-https-request-and-sslstream-on-some-sites

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed insufficient info There is not enough information about the issue.
Projects
None yet
Development

No branches or pull requests

4 participants