-
Notifications
You must be signed in to change notification settings - Fork 67
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
Proxy does not warn on a certificate error at https://nitreb-forms.theismailiusa.org #103
Comments
It looks like a network issue. I'm not able to connect the website with my Taiwan ip, but I can connect the website with an US ip. |
Even when in the US, I am getting the following error.
|
The website has some certificate related error. See below when replicated via JAVA directly.
|
|
@chhsiao90 would appreciate your feedback on this. Thanks. |
I can connect the website with nitmproxy running Can you provide the java version you are running? |
I am using Java 11.
…Sent from my handheld device
On Oct 13, 2021, at 9:17 PM, Chun-Han, Hsiao ***@***.***> wrote:
I can connect the website with nitmproxy running 1.8.0_292.
Can you provide the java version you are running?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I think the issue was caused by the SNI extension. It looks like you are using the JDS built-in SSL library instead of openssl, which is not supporting SNI extension and cause the failure. The netty-tcnative must be included as a dependency while deploying the ntimproxy. |
I believe the link below summarizes it well. The server is misconfigured and SNIExtension caused the failure. I believe we need SNI for transparent proxy and I am assuming it is okay to leave this for now. But rather than just closing the connection, perhaps the ability to show an error page would have been preferable. Perhaps the same approach as unsafe sites with an error template the user can configure? SSL handshake alert: unrecognized_name error since upgrade to Java 1.7.0 |
Sounds good to provide an error page, I will check if it's possible to have one. Netty supports SNI extension by including the netty-tcnative in the classpath, so netty will use different SSLEngine implementation instead of JDK one. |
Proxy is unable to process https://nitreb-forms.theismailiusa.org. The certificate looks okay but the issue is broader than NITMProxy. But the hope was the proxy should issue the same "ignore warning" that it does for e.g. with an expired certificate.
The text was updated successfully, but these errors were encountered: