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

SSL Wrong version number #2

Closed
gjongenelen opened this issue Feb 20, 2020 · 3 comments
Closed

SSL Wrong version number #2

gjongenelen opened this issue Feb 20, 2020 · 3 comments

Comments

@gjongenelen
Copy link

gjongenelen commented Feb 20, 2020

Hi there,

First, thank you for your great work.

I tried out your lib in my auth-server project, but face a problem while using it on WPA2-enterprise.
The following error occurs: 140529911364936:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332
Note: this is when I build in docker, using the node:10-alpine image

When running locally on my mac I get the following error: 4520836544:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_srvr.c:643

I'm not really into SSL, so maybe you can clarify some things? (Debugging didn't help me, I got stuck at crypt.ts)

@simllll
Copy link
Owner

simllll commented Feb 20, 2020

Unsure about the wrong version number issue, but you need for sure a special node version.

See my comment in the readme

This is a first implementation draft, which is currently only working with a nodejs fork (see nodejs/node#31814).

As long this is not merged into the master, you need to build your own nodejs version.

@gjongenelen
Copy link
Author

Thanks, missed that comment.

@simllll
Copy link
Owner

simllll commented Feb 22, 2020

@gjongenelen I found the issue, it was related to some missing code implementations ;) in your case I believe it had to do with the "Length" bit.. just commited the new version.
ensure that you rebuild your certificate, as it turned out that there was also something missing. it works now with windows clients too :)

@simllll simllll closed this as completed Feb 22, 2020
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

2 participants