org.ejbca.core.model.ca.catoken.CATokenOfflineException

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.

  • First post
    via signserver by anatom
    ,
  • SignServer 3.1.1 with nCipher NetHSM
    via signserver by funsfuns
    ,
  • SignServer / Discussion / Help:First post
    via by Unknown author,
  • Plugin HSM after install EJBCA
    via ejbca by tuandn
    ,
    • org.ejbca.core.model.ca.catoken.CATokenOfflineException: Not possible to create provider. See cause. at org.ejbca.util.keystore.P11Slot.createProvider(P11Slot.java:271) at org.ejbca.util.keystore.P11Slot.<init>(P11Slot.java:84) at org.ejbca.util.keystore.P11Slot.<init>(P11Slot.java:39) at org.ejbca.util.keystore.P11Slot$SlotDataParam.getNewP11Slot(P11Slot.java:209) at org.ejbca.util.keystore.P11Slot.getInstance(P11Slot.java:158) at org.ejbca.util.keystore.P11Slot.getInstance(P11Slot.java:141) at org.ejbca.core.model.ca.catoken.PKCS11CAToken.init(PKCS11CAToken.java:132) at org.signserver.server.cryptotokens.PKCS11CryptoToken.init(PKCS11CryptoToken.java:56) at org.signserver.server.BaseProcessable.getCryptoToken(BaseProcessable.java:100) at org.signserver.server.BaseProcessable.genCertificateRequest(BaseProcessable.java:174) at org.signserver.ejb.WorkerSessionBean.getCertificateRequest(WorkerSessionBean.java:452) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) Caused by: java.io.IOException: Error constructing pkcs11 provider: null at org.ejbca.util.keystore.KeyTools.getP11Provider(KeyTools.java:726) at org.ejbca.util.keystore.KeyTools.getP11Provider(KeyTools.java:693) at org.ejbca.util.keystore.P11Slot.createProvider(P11Slot.java:263)
    No Bugmate found.