sun.security.pkcs11.wrapper.PKCS11Exception: CKR_CRYPTOKI_NOT_INITIALIZED
Issue
- Code that works on the temurin build fails with the following exception running on the Red Hat build of OpenJDK:
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_CRYPTOKI_NOT_INITIALIZED
Environment
- Red Hat Enterprise Linux (RHEL) 8
- Red Hat build of OpenJDK 17.0.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.