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

Using the jdk version lower than 1.8, throws an error Received fatal alert: protocol_version #286

Closed
dreamcatcher-cx opened this issue Jun 4, 2018 · 1 comment

Comments

@dreamcatcher-cx
Copy link

hello:
my project is based on the jdk version of 1.7. because Java 1.7 default TLS protocol is v1.0, i receiveed the error.
the most direct way is to upgrade the jdk version,but my project environment does not currently allow this...
what should i do?

@brendandburns
Copy link
Contributor

TLS 1.0 is insecure and generally unsupported by Kubernetes API servers. You should be able to change the protocol on the HttpClient

An example of how to do this is here:

square/okhttp#2372 (comment)

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

2 participants