-
Notifications
You must be signed in to change notification settings - Fork 780
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
Java "internal_error" with MITM on some sites #207
Comments
Hi Jason, I've reproduced it with https://kitematic.com/ (with my implementation and Netty 4.1.0-Beta5), too. I've ececuted my tests with -Djavax.net.debug=all and compare a direct with a proxied connection. I've found this difference in the output: Working handshake with URLConnection Failing handshake with LittleProxy Stay tuned... |
Proxy to server connections needs peer informations to connect Server Name Indication (SNI) enabled sites. The client has to send an extension server_name: [host_name: developer.chrome.com] for example within the handshake.
Proxy to server connections needs peer informations to connect Server Name Indication (SNI) enabled sites. The client has to send an extension server_name: [host_name: developer.chrome.com] for example within the handshake.
Proxy to server connections needs peer informations to connect Server Name Indication (SNI) enabled sites. The client has to send an extension server_name: [host_name: developer.chrome.com] for example within the handshake.
Thanks for investigating this, @ganskef. I just opened PR #210 with the commit you referenced here. Would you mind taking a look and letting me know if there's anything else that needs to be done before this can be merged? This is actually a major issue, so thank you so much for investigating & fixing it! |
Since the discussion is taking place in PR #210 now, I'll close this issue. |
…isk#210 Conflicts: src/main/java/org/littleshoot/proxy/MitmManager.java src/main/java/org/littleshoot/proxy/SslEngineSource.java src/main/java/org/littleshoot/proxy/extras/SelfSignedMitmManager.java src/main/java/org/littleshoot/proxy/impl/ProxyToServerConnection.java
Proxy to server connections needs peer informations to connect Server Name Indication (SNI) enabled sites. The client has to send an extension server_name: [host_name: developer.chrome.com] for example within the handshake.
A BrowserMob Proxy user reported an issue where sites using the CloudFlare Flexible SSL service, such as https://kitematic.com/, experience this error:
Caused by: javax.net.ssl.SSLException: Received fatal alert: internal_error
I traced this problem back to LittleProxy, but I'm at a loss to understand what "internal_error" could possibly mean. Does anybody with more experience with Java SSL have any ideas what might be causing this?
Full LP log output:
The text was updated successfully, but these errors were encountered: