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

Issue on EC client cert (BouncyCastle) #1796

Closed
torrescd opened this issue Oct 4, 2019 · 3 comments
Closed

Issue on EC client cert (BouncyCastle) #1796

torrescd opened this issue Oct 4, 2019 · 3 comments

Comments

@torrescd
Copy link
Contributor

torrescd commented Oct 4, 2019

KubernetesClientException("JcaPEMKeyConverter is provided by BouncyCastle, an optional dependency. To use support for EC Keys you must explicitly add this dependency to classpath.");

I have no clue to how do that.

Shouldn't be managed by bouncycastle-api like in kubernetes-plugin?

Regards!

@rohanKanojia
Copy link
Member

It's a heavy dependency that's why we didn't add it to main jar. You can add it in your project like done here: https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-tests/pom.xml#L109

@torrescd
Copy link
Contributor Author

torrescd commented Oct 4, 2019

Great, thanks!

It would be nice to have some mechanism to achieve that without rebuilding the plugin anyway.

Regards.

@torrescd torrescd closed this as completed Oct 5, 2019
@torrescd torrescd reopened this Oct 5, 2019
@torrescd
Copy link
Contributor Author

torrescd commented Oct 5, 2019

I have done a pull request regarding this topic.

#1798

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