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

Failed to do start tls handshake: SSL routines:tls_early_post_process_client_hello:unsupported protocol #976

Open
marek22k opened this issue Feb 2, 2023 · 0 comments

Comments

@marek22k
Copy link

marek22k commented Feb 2, 2023

Hello,

I am trying to implement the old TIC protocol. I want to use the Event Machine as a server. However, when I initiate the Start TLS handshake during the connection, the problem aborts with the following error:

139943097670528:error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol:../ssl/statem/statem_srvr.c:1685:

Once this is not a Ruby exception, which could be caught, furthermore the error is quite unclear to me.

Client says TLS Handshake failed: A TLS packet with unexpected length was received. (-9)

$ ruby -v
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
$ openssl version
OpenSSL 1.1.1f  31 Mar 2020

Here is a dump of the handshake: https://paste.i2pd.xyz/?0b26082e7dcc61fe#7asPqnBaTAdENNydzEmj31nnQrafu3SyWWUWgSySk8Fo

@marek22k marek22k changed the title Failed to implment TIC: SSL routines:tls_early_post_process_client_hello:unsupported protocol Failed to do start tls handshake: SSL routines:tls_early_post_process_client_hello:unsupported protocol Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant