Replies: 1 comment 6 replies
-
Yes there was an update to Java that changed/broke some PKCS#11 functionality. We have fixed this in the next upcoming release, it should be out in a few weeks, and then works both with the old and new java versions. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
since Java-Update from jdk8u312 to jdk8u322 (OpenJDK) it isn't possiblem to sign any data with our SmartCard-HSM-Keys anymore. The server.log contains this Exception:
2022-09-05 16:04:05,616 ERROR [org.ejbca.core.protocol.cmp.RevocationMessageHandler] (default task-2) Error during CMP processing. .: java.security.NoSuchAlgorithmException: no such algorithm: SHA256WithRSA for provider SunPKCS11-opensc-pkcs11.so-s$
server.log
Testing with ejbcaClientToolBox also fails:
java.security.NoSuchAlgorithmException: No such algorithm: RSA/ECB/PKCS1Padding
ClientToolBox_output.txt
The same problem with Java 11. Switching back to jdk8u312 seems to work properly.
Could it be this caused by this fix: https://bugs.openjdk.org/browse/JDK-8176837 ?
Can you help me with this problem?
Environment:
Beta Was this translation helpful? Give feedback.
All reactions