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

TLS: Failed to set DH params from '/root/eaphammer/certs/dh': error:1408518A:SSL routines:ssl3_ctx_ctrl:dh key too small #69

Closed
freqyXin opened this issue Apr 16, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@freqyXin
Copy link
Contributor

commented Apr 16, 2019

Had some issues running:
--creds

&

--hostile-portal -auth wpa

These resulted in an error and failure to enable AP.

Error:
TLS: Failed to set DH params from '/root/eaphammer/certs/dh': error:1408518A:SSL routines:ssl3_ctx_ctrl:dh key too small

This is due to the length of the dh key eaphammer is packaged with --it's 1024 bit.

To fix this issue (Kali):

  1. cd eaphammer/certs/
  2. rm dh
  3. Generate a new 2048 bit dh key:
    sudo openssl dhparam -out dh 2048
@ZeroChaos-

This comment has been minimized.

Copy link

commented Apr 16, 2019

@freqyXin The offending line is here https://github.com/s0lst1c3/eaphammer/blob/master/certs/Makefile#L12

I bet you can make a PR with a fix :-)

@freqyXin

This comment has been minimized.

Copy link
Contributor Author

commented Apr 16, 2019

Just made the PR, ty for finding that @ZeroChaos-

@s0lst1c3

This comment has been minimized.

Copy link
Owner

commented Apr 16, 2019

@s0lst1c3

This comment has been minimized.

Copy link
Owner

commented Apr 16, 2019

@s0lst1c3 s0lst1c3 referenced this issue Apr 18, 2019

Merged

Cert handling #71

@s0lst1c3 s0lst1c3 closed this in #71 Apr 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.