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

OpenJdk 13 HTTPS handling issue - BCXDHPublicKey cannot be cast to class XECPublicKey #111

Open
tkohegyi opened this issue Apr 15, 2021 · 3 comments

Comments

@tkohegyi
Copy link
Contributor

Proxy log contains this error message:

java.lang.ClassCastException: class org.bouncycastle.jcajce.provider.asymmetric.edec.BCXDHPublicKey cannot be cast to class java.security.interfaces.XECPublicKey (org.bouncycastle.jcajce.provider.asymmetric.edec.BCXDHPublicKey is in unnamed module of loader 'app'; java.security.interfaces.XECPublicKey is in module java.base of loader 'bootstrap')

The issue is caused by issue in 3rd party library - bcgit/bc-java#589 - see more details there.
Meanwhile we are waiting for real solution, this workaround sometimes work:

Start Wilma with additional parameter in command line:
-Djdk.tls.namedGroups="secp256r1, secp384r1, ffdhe2048, ffdhe3072"

@tkohegyi
Copy link
Contributor Author

Issue still exists after BCv1.69 - bcgit/bc-java#620 is still active

@tkohegyi
Copy link
Contributor Author

Issue still exists with BCv1.71

@tkohegyi
Copy link
Contributor Author

Issue still exists with BCv1.77

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

1 participant