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

handshake hm.baidu.com:443 remote error: tls: illegal parameter #3

Open
luochaolun opened this issue Mar 6, 2018 · 2 comments
Open

Comments

@luochaolun
Copy link

handshake hm.baidu.com:443 remote error: tls: illegal parameter

Freeaqingme added a commit to Freeaqingme/mitm that referenced this issue Apr 23, 2018
@Freeaqingme
Copy link

I had the same issue (but then while connecting with google.com). Didn't research it any further, but using SHA512/RSA certificates rather than ECDA fixed it. PR: #4

@evanj
Copy link

evanj commented Sep 19, 2018

The issue in not the certificate algorithm, but rather the curve that is embedded here. The code uses elliptic.P521() which is not supported by Chrome it appears. Switching it to elliptic.P256() makes it work for me. Edit this line here: https://github.com/kr/mitm/blob/master/cert.go#L66

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

3 participants