-
Notifications
You must be signed in to change notification settings - Fork 4
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
FIPS : Getting CKR_KEY_TYPE_INCONSISTENT when running Spark 3.3.0 using IBM Semeru Runtime 11.0.16.1 on FIPS enabled cluster. #36
Comments
looks like this issue is reported here in OpenJ9 too https://bugs.openjdk.org/browse/JDK-8282538. |
@alon-sh fyi |
Possibly related? |
@alon-sh any update? |
The error message “CKR_KEY_TYPE_INCONSISTENT”, saying the specified key is not the correct type of key to use with the specified mechanism. So, in your case, what is the key and Mac algorithm it trying to use? And the following link is a blog and examples, about how to use the FIPS in Semeru, especially the keystore. And currently the FIPS mode only support the P11 keys which stored in the NSSDB. So, how the keystore is configured in Spark 3.3.0, for using the Semeru FIPS? |
A fix for this problem has, I believe, been merged into OpenJ9 yesterday (e.g. ibmruntimes/openj9-openjdk-jdk8#622 (comment)), which means it should be delivered as part of Semeru Runtimes 8u352, 11.0.17, etc. probably later this month. |
@mstoodle is there any release date confirmed yet? |
Not a precise one: OpenJDK released the last set of fixes yesterday afternoon, so our release process can now start. Hopefully by the end of the month. |
@mstoodle I am still not seeing any build available with this fix. |
Hopefully today or tomorrow. We got final confirmation of CVE fixes today, so we are starting the process to publish the binaries today. |
Open Edition binaries have been posted here: https://github.com/ibmruntimes/semeru11-binaries/releases/tag/jdk-11.0.17%2B8_openj9-0.35.0 The web site may take longer to update, so pasting the direct download link to get you moving. |
Closing as fixed, please reopen if you still experience the problem. |
After passing
-Dsemeru.fips=true
to jvm process, gettingCKR_KEY_TYPE_INCONSISTENT
error when running Spark 3.3.0 using IBM Semeru Runtime 11.0.16.1 on FIPS enabled cluster.The text was updated successfully, but these errors were encountered: