java.io.IOException

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.

  • TSA using a PKCS#11 device
    via signserver by dottzero
    ,
  • iText®, a JAVA PDF library / Mailing Lists
    via by Unknown author,
    • java.io.IOException: Error constructing pkcs11 provider: null at org.ejbca.util.keystore.KeyTools.getP11Provider(KeyTools.java:655) at org.ejbca.util.keystore.KeyTools.getP11Provider(KeyTools.java:621) at org.ejbca.util.keystore.KeyStoreContainerP11.getInstance(KeyStoreContainerP11.java:54) at org.ejbca.util.keystore.KeyStoreContainerFactory.getInstance(KeyStoreContainerFactory.java:55) at org.ejbca.ui.cli.HSMKeyTool.execute(HSMKeyTool.java:175) at org.ejbca.ui.cli.PKCS11HSMKeyTool.execute(PKCS11HSMKeyTool.java:46) at org.ejbca.ui.cli.ClientToolBox.executeIfSelected(ClientToolBox.java:38) at org.ejbca.ui.cli.ClientToolBox.main(ClientToolBox.java:51) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.ejbca.util.keystore.KeyTools.getP11Provider(KeyTools.java:652) ... 7 more Caused by: java.security.ProviderException: Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:186) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:80) ... 12 more Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SLOT_ID_INVALID at sun.security.pkcs11.wrapper.PKCS11.C_GetSlotInfo(Native Method) at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:178) ... 13 more

    Users with the same issue

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