java.security.ProviderException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Using the new Pkcs11 wrapper
    via by 843811,
  • PKCS11Exception: CKR_TOKEN_NOT_RECOGNIZED
    via Stack Overflow by Slok
    ,
  • SoftHSM2 java not working
    via Stack Overflow by Slok
    ,
  • iText®, a JAVA PDF library / Mailing Lists
    via by Unknown author,
    • java.security.ProviderException: Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:374) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:107) at xades4j.providers.impl.PKCS11KeyStoreKeyingDataProvider$1.getBuilder(PKCS11KeyStoreKeyingDataProvider.java:115) at xades4j.providers.impl.KeyStoreKeyingDataProvider.ensureInitialized(KeyStoreKeyingDataProvider.java:175) at xades4j.providers.impl.KeyStoreKeyingDataProvider.getSigningCertificateChain(KeyStoreKeyingDataProvider.java:189) at xades4j.production.SignerBES.sign(SignerBES.java:151) at xades4j.production.SignerBES.sign(SignerBES.java:122) at xades4j.production.SignerBESTest.testSignBES(SignerBESTest.java:67) Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_TOKEN_NOT_RECOGNIZED at sun.security.pkcs11.wrapper.PKCS11.C_GetTokenInfo(Native Method) at sun.security.pkcs11.Token.<init>(Token.java:130) at sun.security.pkcs11.SunPKCS11.initToken(SunPKCS11.java:804) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:365)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,