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

mock-server client does not support TLS v1.3 #1837

Open
aldex32 opened this issue Feb 2, 2024 · 2 comments
Open

mock-server client does not support TLS v1.3 #1837

aldex32 opened this issue Feb 2, 2024 · 2 comments

Comments

@aldex32
Copy link

aldex32 commented Feb 2, 2024

Describe the issue
mock-server client does not support TLS v1.3

What you are trying to do
I have mock-server running behind a load balancer which allows only TLS v1.3 and unfortunately mock-server client does not support this TLS version.

javax.net.ssl.SSLHandshakeException: error:1000042e:SSL routines:OPENSSL_internal:TLSV1_ALERT_PROTOCOL_VERSION

I see in the master branch that you have added support for other TLS versions, but it is not released yet. Last release I see is a year ago, are you (@jamesdbloom) planning to release it soon? Is there any other way I can instruct the client to use TLS v1.3?

MockServer version
v5.15.0

Thanks in advance!

@aldex32 aldex32 changed the title Any plan for the next release mock-server client does not support TLS v1.3 Feb 2, 2024
@aukevanleeuwen
Copy link

👊 I could use this as well @jamesdbloom :-) A release would be nice since I don't see another way of overriding it to v1.3. It's rather hard coded.

@vkochnev
Copy link

I should say it's much worse in reality because of how it is implemented. If you use mockserver in your tests then none(!) other normal http clients can use TLSv1.3. Setting system property https.protocols affects everything running in the same jvm process. I've spent a noticeable amount of time trying to understand what happens. Please do not touch system properties, configure your own clients and servers directly if you need.

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