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

@freqyXin
Copy link
Contributor

@freqyXin freqyXin 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-
Copy link

@ZeroChaos- ZeroChaos- 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
Copy link
Contributor Author

@freqyXin freqyXin commented Apr 16, 2019

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

@s0lst1c3
Copy link
Owner

@s0lst1c3 s0lst1c3 commented Apr 16, 2019

@s0lst1c3
Copy link
Owner

@s0lst1c3 s0lst1c3 commented Apr 16, 2019

@s0lst1c3 s0lst1c3 mentioned this issue Apr 18, 2019
@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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants