3 Replies Latest reply on Jun 13, 2016 10:56 AM by carlosn21062247

    "HSM Support Not Available" Error

    RobMcDougall

      Hi,

       

      I'm trying to configure an HSM credential under LiveCycle ES2.  I've done all the steps listed in the documentation (established a Network Trust Link, assigned the client to a partition, etc.).  I'm able to run the demo app provided by the HSM vendor and am able to talk to the HSM.  When I try and configure the credential from the LiveCycle adminui, the Test HSM Connectivity fails with the following error in the log:

       

      2010-01-25 16:06:50,561 INFO  [com.adobe.truststore.crypto.CryptoUtil] encryptBytes: Building secret key for length: 16

      2010-01-25 16:06:53,817 INFO  [com.adobe.truststore.crypto.CryptoUtil] encryptBytes: Building secret key for length: 16

      2010-01-25 16:07:08,508 INFO  [com.adobe.truststore.crypto.CryptoUtil] encryptBytes: Building secret key for length: 16

      2010-01-25 16:07:08,509 ERROR [com.adobe.livecycle.signatures.client.types.exceptions.SignaturesBaseRuntimeException] ALC-DSS-300-000 Generic SignaturesBaseException  HSM Support not available (in the operation : getCredential)

      2010-01-25 16:07:08,594 INFO  [com.adobe.truststore.crypto.CryptoUtil] encryptBytes: Building secret key for length: 16

      2010-01-25 16:07:17,329 INFO  [com.adobe.truststore.crypto.CryptoUtil] encryptBytes: Building secret key for length: 16

      2010-01-25 16:07:17,332 ERROR [com.adobe.livecycle.signatures.client.types.exceptions.SignaturesBaseRuntimeException] ALC-DSS-300-000 Generic SignaturesBaseException  HSM Support not available (in the operation : getCredential)

      2010-01-25 16:07:17,354 INFO  [com.adobe.truststore.crypto.CryptoUtil] encryptBytes: Building secret key for length: 16

      2010-01-25 16:07:17,362 ERROR [com.adobe.livecycle.signatures.client.types.exceptions.SignaturesBaseRuntimeException] ALC-DSS-300-000 Generic SignaturesBaseException  HSM Support not available (in the operation : getSlotsWithTokens)

      2010-01-25 16:07:17,363 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.doRequiresNe w(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transa ctionCallback) throws com.adobe.idp.dsc.DSCException:

      ALC-DSS-300-000 Generic SignaturesBaseException  HSM Support not available (in the operation : getSlotsWithTokens)

       

      com.adobe.livecycle.signatures.hsm.HSMProvider.getSlotsWithTokens(HSMProvider.java:202)

      com.adobe.truststore.dsc.HSMCredentialHelper.listSlots(HSMCredentialHelper.java:101)

      com.adobe.truststore.dsc.CredentialServiceImpl.listSlots(CredentialServiceImpl.java:482)

      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      java.lang.reflect.Method.invoke(Method.java:597)

      com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)

      com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

      com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)

      com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

      com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)

      sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source)

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      java.lang.reflect.Method.invoke(Method.java:597)

      org.jboss.invocation.Invocation.performCall(Invocation.java:359)

      org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)

      org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)

      org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

      org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

      org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)

      org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)

      org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)

      org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)

      org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

      org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

      org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)

      org.jboss.ejb.Container.invoke(Container.java:960)

      org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)

      org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)

      $Proxy177.doRequiresNew(Unknown Source)

      com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)

      com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)

      com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

      com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

      com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)

      com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

      com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)

      com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)

      com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)

      com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)

      com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)

      com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

      com.adobe.truststore.ui.impl.TrustStoreProxy.getSlots(TrustStoreProxy.java:903)

      com.adobe.truststore.ui.struts.actions.UpdateHSMCommonAction.execute(UpdateHSMCommonActio n.java:63)

      org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

      org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

      org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

      org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)

      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      com.adobe.framework.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:1 73)

      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      com.adobe.truststore.ui.TSAuthFilter.doFilter(TSAuthFilter.java:63)

      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)

      org.apache.catalina.core.ApplicationFilterChain.doFilter

       

      Any idea on what the problem might be?  Has anyone seen this before?

       

      We've configured HSMs on previous versions of LiveCycle before however this is our first attempt under ES2.

       

      Regards,

      Rob