Open arielb-yonivers opened 2 years ago
hello. usually first thing to do to diagnose such problems is to check the contents of the log file, - it is usually situated here: %USERPROFILE%\AppData\Local\Nowina\NexU\nexu.log
hello. usually first thing to do to diagnose such problems is to check the contents of the log file, - it is usually situated here: %USERPROFILE%\AppData\Local\Nowina\NexU\nexu.log
Thank you @hello-earth-gh, here the log :
2022-08-30 17:34:16,088 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 17:34:16,088 INFO [RequestProcessor] Request /nexu-info
2022-08-30 17:34:16,169 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 17:34:16,169 INFO [RequestProcessor] Request /nexu.js
2022-08-30 17:34:18,994 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 17:34:18,994 INFO [RequestProcessor] Request /nexu.js
2022-08-30 17:34:19,084 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 17:34:19,162 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 17:34:19,162 INFO [RequestProcessor] Request /rest/certificates
2022-08-30 17:34:19,162 INFO [RequestProcessor] Process request /rest/certificates pluginId: rest
2022-08-30 17:34:19,162 INFO [RestHttpPlugin] PathInfo /certificates
2022-08-30 17:34:19,163 INFO [RestHttpPlugin] Payload ''
2022-08-30 17:34:19,163 INFO [RestHttpPlugin] API call certificates
2022-08-30 17:34:19,164 INFO [RestHttpPlugin] Call API
2022-08-30 17:34:19,164 INFO [UIOperation] Loading /fxml/product-selection.fxml view
2022-08-30 17:34:19,171 INFO [StandaloneUIDisplay] Display BorderPane@ea542d in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 17:34:19,171 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 17:34:19,171 INFO [InternalAPI] Product is instance of KeystoreProductAdapter
2022-08-30 17:34:19,171 INFO [UIOperation] Thread Thread-86 wait on ProductSelectionController
2022-08-30 17:34:19,172 INFO [InternalAPI] Product is instance of WindowsKeystoreProductAdapter
2022-08-30 17:34:19,172 INFO [StandaloneUIDisplay] Display BorderPane@ea542d in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 17:34:19,172 INFO [StandaloneUIDisplay] Loading ui BorderPane@ea542d is a new Stage javafx.stage.Stage@ae26f2
2022-08-30 17:34:21,571 INFO [UIOperation] Notify from JavaFX Application Thread on ProductSelectionController
2022-08-30 17:34:21,571 INFO [UIOperation] Thread Thread-86 resumed on ProductSelectionController
2022-08-30 17:34:21,571 INFO [InternalAPI] Product is instance of KeystoreProductAdapter
2022-08-30 17:34:21,571 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@ae26f2 and create new stage
2022-08-30 17:34:21,572 INFO [UIOperation] Loading /fxml/configure-keystore.fxml view
2022-08-30 17:34:21,586 INFO [StandaloneUIDisplay] Display BorderPane@10b1d76 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 17:34:21,586 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 17:34:21,587 INFO [UIOperation] Thread Thread-86 wait on ConfigureKeystoreController
2022-08-30 17:34:21,592 INFO [StandaloneUIDisplay] Display BorderPane@10b1d76 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 17:34:21,592 INFO [StandaloneUIDisplay] Loading ui BorderPane@10b1d76 is a new Stage javafx.stage.Stage@1675b86
2022-08-30 17:34:30,830 INFO [UIOperation] Notify from JavaFX Application Thread on ConfigureKeystoreController
2022-08-30 17:34:30,831 INFO [UIOperation] Thread Thread-86 resumed on ConfigureKeystoreController
2022-08-30 17:34:30,831 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@1675b86 and create new stage
2022-08-30 17:34:30,831 INFO [CreateTokenOperation] 1 matching product adapters
2022-08-30 17:34:30,832 INFO [StandaloneUIDisplay] Request password
2022-08-30 17:34:30,832 INFO [UIOperation] Loading /fxml/password-input.fxml view
2022-08-30 17:34:30,838 INFO [StandaloneUIDisplay] Display BorderPane@165dae3 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 17:34:30,838 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 17:34:30,839 INFO [UIOperation] Thread Thread-86 wait on PasswordInputController
2022-08-30 17:34:30,844 INFO [StandaloneUIDisplay] Display BorderPane@165dae3 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 17:34:30,845 INFO [StandaloneUIDisplay] Loading ui BorderPane@165dae3 is a new Stage javafx.stage.Stage@1e1c873
2022-08-30 17:34:35,090 INFO [UIOperation] Notify from JavaFX Application Thread on PasswordInputController
2022-08-30 17:34:35,090 INFO [UIOperation] Thread Thread-86 resumed on PasswordInputController
2022-08-30 17:34:35,091 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@1e1c873 and create new stage
2022-08-30 17:34:35,092 ERROR [GetCertificateFlow] Flow error
eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53)
at eu.europa.esig.dss.token.JKSSignatureToken.<init>(JKSSignatureToken.java:45)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:216)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240)
at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49)
at lu.nowina.nexu.flow.Flow.execute(Flow.java:55)
at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at sun.security.provider.KeyStoreDelegator.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51)
... 12 more
2022-08-30 17:34:35,092 INFO [UIOperation] Loading /fxml/provide-feedback.fxml view
2022-08-30 17:34:35,097 INFO [StandaloneUIDisplay] Display BorderPane@7d889 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 17:34:35,097 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 17:34:35,097 INFO [UIOperation] Thread Thread-86 wait on ProvideFeedbackController
2022-08-30 17:34:35,106 INFO [StandaloneUIDisplay] Display BorderPane@7d889 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 17:34:35,107 INFO [StandaloneUIDisplay] Loading ui BorderPane@7d889 is a new Stage javafx.stage.Stage@b64184
2022-08-30 17:34:38,187 INFO [StandaloneUIDisplay] Closing stage javafx.stage.Stage@b64184 from JavaFX Application Thread
2022-08-30 17:34:38,200 INFO [UIOperation] Thread Thread-86 resumed on ProvideFeedbackController
2022-08-30 17:34:38,201 ERROR [InternalAPI] Cannot execute request
java.util.concurrent.ExecutionException: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at lu.nowina.nexu.InternalAPI.executeRequest(InternalAPI.java:200)
at lu.nowina.nexu.InternalAPI.getCertificate(InternalAPI.java:233)
at lu.nowina.nexu.rest.RestHttpPlugin.getCertificates(RestHttpPlugin.java:165)
at lu.nowina.nexu.rest.RestHttpPlugin.process(RestHttpPlugin.java:76)
at lu.nowina.nexu.jetty.RequestProcessor.httpPlugin(RequestProcessor.java:183)
at lu.nowina.nexu.jetty.RequestProcessor.handle(RequestProcessor.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
Caused by: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53)
at eu.europa.esig.dss.token.JKSSignatureToken.<init>(JKSSignatureToken.java:45)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:216)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240)
at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49)
at lu.nowina.nexu.flow.Flow.execute(Flow.java:55)
at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
... 1 more
Caused by: java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at sun.security.provider.KeyStoreDelegator.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51)
... 12 more
2022-08-30 17:34:38,201 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@b64184 and create new stage
So it says that for some reason it doesn't like the format of your JKS keystore. Are you sure it's valid? You can try opening it with KeyStore Explorer, or you could try executing the following command to check the integrity of the store:
keytool -list -keystore c:\path_to_keystore\keystore.jks
Thank you @hello-earth-gh ,
I have changed the format extension of the key to .p12 and select pkcs12 to upload the keystore
but still I have an Error :
2022-08-30 18:11:20,608 INFO [UIOperation] Notify from JavaFX Application Thread on ConfigureKeystoreController
2022-08-30 18:11:20,609 INFO [UIOperation] Thread Thread-86 resumed on ConfigureKeystoreController
2022-08-30 18:11:20,609 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@181c2cd and create new stage
2022-08-30 18:11:20,609 INFO [CreateTokenOperation] 1 matching product adapters
2022-08-30 18:11:20,611 INFO [StandaloneUIDisplay] Request password
2022-08-30 18:11:20,611 INFO [UIOperation] Loading /fxml/password-input.fxml view
2022-08-30 18:11:20,617 INFO [StandaloneUIDisplay] Display BorderPane@1af072a in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:11:20,617 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:11:20,618 INFO [UIOperation] Thread Thread-86 wait on PasswordInputController
2022-08-30 18:11:20,626 INFO [StandaloneUIDisplay] Display BorderPane@1af072a in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:11:20,626 INFO [StandaloneUIDisplay] Loading ui BorderPane@1af072a is a new Stage javafx.stage.Stage@186a263
2022-08-30 18:11:25,942 INFO [UIOperation] Notify from JavaFX Application Thread on PasswordInputController
2022-08-30 18:11:25,943 INFO [UIOperation] Thread Thread-86 resumed on PasswordInputController
2022-08-30 18:11:25,943 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@186a263 and create new stage
2022-08-30 18:11:25,944 ERROR [GetCertificateFlow] Flow error
eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53)
at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240)
at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49)
at lu.nowina.nexu.flow.Flow.execute(Flow.java:55)
at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source)
at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51)
... 12 more
Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.util.ObjectIdentifier.<init>(Unknown Source)
at sun.security.util.DerInputStream.getOID(Unknown Source)
at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267)
at java.security.AlgorithmParameters.init(Unknown Source)
... 16 more
2022-08-30 18:11:25,945 INFO [UIOperation] Loading /fxml/provide-feedback.fxml view
2022-08-30 18:11:25,957 INFO [StandaloneUIDisplay] Display BorderPane@162e846 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:11:25,957 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:11:25,957 INFO [UIOperation] Thread Thread-86 wait on ProvideFeedbackController
2022-08-30 18:11:25,961 INFO [StandaloneUIDisplay] Display BorderPane@162e846 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:11:25,961 INFO [StandaloneUIDisplay] Loading ui BorderPane@162e846 is a new Stage javafx.stage.Stage@e6ddec
2022-08-30 18:11:28,322 INFO [UIOperation] Thread Thread-86 resumed on ProvideFeedbackController
2022-08-30 18:11:28,322 ERROR [InternalAPI] Cannot execute request
java.util.concurrent.ExecutionException: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at lu.nowina.nexu.InternalAPI.executeRequest(InternalAPI.java:200)
at lu.nowina.nexu.InternalAPI.getCertificate(InternalAPI.java:233)
at lu.nowina.nexu.rest.RestHttpPlugin.getCertificates(RestHttpPlugin.java:165)
at lu.nowina.nexu.rest.RestHttpPlugin.process(RestHttpPlugin.java:76)
at lu.nowina.nexu.jetty.RequestProcessor.httpPlugin(RequestProcessor.java:183)
at lu.nowina.nexu.jetty.RequestProcessor.handle(RequestProcessor.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
Caused by: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53)
at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240)
at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49)
at lu.nowina.nexu.flow.Flow.execute(Flow.java:55)
at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
... 1 more
Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source)
at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51)
... 12 more
Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.util.ObjectIdentifier.<init>(Unknown Source)
at sun.security.util.DerInputStream.getOID(Unknown Source)
at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267)
at java.security.AlgorithmParameters.init(Unknown Source)
... 16 more
2022-08-30 18:11:28,322 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@e6ddec and create new stage
2022-08-30 18:11:35,077 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:11:35,077 INFO [RequestProcessor] Request /nexu.js
2022-08-30 18:11:38,870 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:11:38,870 INFO [RequestProcessor] Request /nexu.js
2022-08-30 18:11:38,965 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:11:39,048 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:11:39,048 INFO [RequestProcessor] Request /rest/certificates
2022-08-30 18:11:39,048 INFO [RequestProcessor] Process request /rest/certificates pluginId: rest
2022-08-30 18:11:39,048 INFO [RestHttpPlugin] PathInfo /certificates
2022-08-30 18:11:39,049 INFO [RestHttpPlugin] Payload ''
2022-08-30 18:11:39,049 INFO [RestHttpPlugin] API call certificates
2022-08-30 18:11:39,049 INFO [RestHttpPlugin] Call API
2022-08-30 18:11:39,049 INFO [UIOperation] Loading /fxml/product-selection.fxml view
2022-08-30 18:11:39,056 INFO [StandaloneUIDisplay] Display BorderPane@a86147 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:11:39,056 INFO [InternalAPI] Product is instance of KeystoreProductAdapter
2022-08-30 18:11:39,056 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:11:39,056 INFO [InternalAPI] Product is instance of WindowsKeystoreProductAdapter
2022-08-30 18:11:39,056 INFO [UIOperation] Thread Thread-86 wait on ProductSelectionController
2022-08-30 18:11:39,056 INFO [StandaloneUIDisplay] Display BorderPane@a86147 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:11:39,057 INFO [StandaloneUIDisplay] Loading ui BorderPane@a86147 is a new Stage javafx.stage.Stage@bdadd8
2022-08-30 18:11:42,381 INFO [UIOperation] Notify from JavaFX Application Thread on ProductSelectionController
2022-08-30 18:11:42,381 INFO [UIOperation] Thread Thread-86 resumed on ProductSelectionController
2022-08-30 18:11:42,383 INFO [InternalAPI] Product is instance of KeystoreProductAdapter
2022-08-30 18:11:42,383 INFO [UIOperation] Loading /fxml/configure-keystore.fxml view
2022-08-30 18:11:42,383 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@bdadd8 and create new stage
2022-08-30 18:11:42,393 INFO [StandaloneUIDisplay] Display BorderPane@1cfdce3 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:11:42,393 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:11:42,393 INFO [UIOperation] Thread Thread-86 wait on ConfigureKeystoreController
2022-08-30 18:11:42,407 INFO [StandaloneUIDisplay] Display BorderPane@1cfdce3 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:11:42,407 INFO [StandaloneUIDisplay] Loading ui BorderPane@1cfdce3 is a new Stage javafx.stage.Stage@132240c
2022-08-30 18:11:51,286 INFO [UIOperation] Notify from JavaFX Application Thread on ConfigureKeystoreController
2022-08-30 18:11:51,286 INFO [UIOperation] Thread Thread-86 resumed on ConfigureKeystoreController
2022-08-30 18:11:51,286 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@132240c and create new stage
2022-08-30 18:11:51,286 INFO [CreateTokenOperation] 1 matching product adapters
2022-08-30 18:11:51,287 INFO [StandaloneUIDisplay] Request password
2022-08-30 18:11:51,287 INFO [UIOperation] Loading /fxml/password-input.fxml view
2022-08-30 18:11:51,294 INFO [StandaloneUIDisplay] Display BorderPane@14fb91c in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:11:51,295 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:11:51,295 INFO [UIOperation] Thread Thread-86 wait on PasswordInputController
2022-08-30 18:11:51,301 INFO [StandaloneUIDisplay] Display BorderPane@14fb91c in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:11:51,301 INFO [StandaloneUIDisplay] Loading ui BorderPane@14fb91c is a new Stage javafx.stage.Stage@1aa6757
2022-08-30 18:11:58,824 INFO [UIOperation] Notify from JavaFX Application Thread on PasswordInputController
2022-08-30 18:11:58,825 INFO [UIOperation] Thread Thread-86 resumed on PasswordInputController
2022-08-30 18:11:58,825 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@1aa6757 and create new stage
2022-08-30 18:11:58,825 ERROR [GetCertificateFlow] Flow error
eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53)
at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240)
at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49)
at lu.nowina.nexu.flow.Flow.execute(Flow.java:55)
at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source)
at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51)
... 12 more
Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.util.ObjectIdentifier.<init>(Unknown Source)
at sun.security.util.DerInputStream.getOID(Unknown Source)
at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267)
at java.security.AlgorithmParameters.init(Unknown Source)
... 16 more
2022-08-30 18:11:58,826 INFO [UIOperation] Loading /fxml/provide-feedback.fxml view
2022-08-30 18:11:58,831 INFO [StandaloneUIDisplay] Display BorderPane@3771bb in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:11:58,831 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:11:58,831 INFO [UIOperation] Thread Thread-86 wait on ProvideFeedbackController
2022-08-30 18:11:58,839 INFO [StandaloneUIDisplay] Display BorderPane@3771bb in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:11:58,840 INFO [StandaloneUIDisplay] Loading ui BorderPane@3771bb is a new Stage javafx.stage.Stage@f3c4bd
2022-08-30 18:12:02,721 INFO [StandaloneUIDisplay] Closing stage javafx.stage.Stage@f3c4bd from JavaFX Application Thread
2022-08-30 18:12:02,736 INFO [UIOperation] Thread Thread-86 resumed on ProvideFeedbackController
2022-08-30 18:12:02,737 ERROR [InternalAPI] Cannot execute request
java.util.concurrent.ExecutionException: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at lu.nowina.nexu.InternalAPI.executeRequest(InternalAPI.java:200)
at lu.nowina.nexu.InternalAPI.getCertificate(InternalAPI.java:233)
at lu.nowina.nexu.rest.RestHttpPlugin.getCertificates(RestHttpPlugin.java:165)
at lu.nowina.nexu.rest.RestHttpPlugin.process(RestHttpPlugin.java:76)
at lu.nowina.nexu.jetty.RequestProcessor.httpPlugin(RequestProcessor.java:183)
at lu.nowina.nexu.jetty.RequestProcessor.handle(RequestProcessor.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Unknown Source)
Caused by: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53)
at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212)
at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240)
at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104)
at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49)
at lu.nowina.nexu.flow.Flow.execute(Flow.java:55)
at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
... 1 more
Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source)
at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51)
... 12 more
Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
at sun.security.util.ObjectIdentifier.<init>(Unknown Source)
at sun.security.util.DerInputStream.getOID(Unknown Source)
at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267)
at java.security.AlgorithmParameters.init(Unknown Source)
... 16 more
2022-08-30 18:12:02,738 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@f3c4bd and create new stage
this link here indicates that there is a chance that there is some incompatibility between Java versions.
It could be that you created your keystore with a higher version of Java, using a higher class cipher, which is not supported by the Java that NexU uses to run (it has java included, and it's a particular version (not the latest) of Java 8)
@hello-earth-gh thank you, it finally works ! But still blocked in this step :
what does it mean
2022-08-30 18:58:47,307 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:58:47,308 INFO [RequestProcessor] Request /nexu.js
2022-08-30 18:58:56,476 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:58:56,477 INFO [RequestProcessor] Request /nexu.js
2022-08-30 18:58:56,564 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:58:56,650 INFO [CheckUserRequestProcessor] User for pid 17684: ariel
2022-08-30 18:58:56,650 INFO [RequestProcessor] Request /rest/certificates
2022-08-30 18:58:56,650 INFO [RequestProcessor] Process request /rest/certificates pluginId: rest
2022-08-30 18:58:56,650 INFO [RestHttpPlugin] PathInfo /certificates
2022-08-30 18:58:56,651 INFO [RestHttpPlugin] Payload ''
2022-08-30 18:58:56,651 INFO [RestHttpPlugin] API call certificates
2022-08-30 18:58:56,651 INFO [RestHttpPlugin] Call API
2022-08-30 18:58:56,651 INFO [UIOperation] Loading /fxml/product-selection.fxml view
2022-08-30 18:58:56,663 INFO [StandaloneUIDisplay] Display BorderPane@23d8e4 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:58:56,664 INFO [InternalAPI] Product is instance of KeystoreProductAdapter
2022-08-30 18:58:56,664 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:58:56,664 INFO [UIOperation] Thread Thread-86 wait on ProductSelectionController
2022-08-30 18:58:56,664 INFO [InternalAPI] Product is instance of WindowsKeystoreProductAdapter
2022-08-30 18:58:56,665 INFO [StandaloneUIDisplay] Display BorderPane@23d8e4 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:58:56,665 INFO [StandaloneUIDisplay] Loading ui BorderPane@23d8e4 is a new Stage javafx.stage.Stage@fc3ad1
2022-08-30 18:58:58,676 INFO [UIOperation] Notify from JavaFX Application Thread on ProductSelectionController
2022-08-30 18:58:58,676 INFO [UIOperation] Thread Thread-86 resumed on ProductSelectionController
2022-08-30 18:58:58,676 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@fc3ad1 and create new stage
2022-08-30 18:58:58,677 INFO [InternalAPI] Product is instance of KeystoreProductAdapter
2022-08-30 18:58:58,677 INFO [UIOperation] Loading /fxml/configure-keystore.fxml view
2022-08-30 18:58:58,689 INFO [StandaloneUIDisplay] Display BorderPane@1f9a213 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:58:58,689 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:58:58,689 INFO [UIOperation] Thread Thread-86 wait on ConfigureKeystoreController
2022-08-30 18:58:58,695 INFO [StandaloneUIDisplay] Display BorderPane@1f9a213 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:58:58,695 INFO [StandaloneUIDisplay] Loading ui BorderPane@1f9a213 is a new Stage javafx.stage.Stage@a5a941
2022-08-30 18:59:09,957 INFO [UIOperation] Notify from JavaFX Application Thread on ConfigureKeystoreController
2022-08-30 18:59:09,957 INFO [UIOperation] Thread Thread-86 resumed on ConfigureKeystoreController
2022-08-30 18:59:09,957 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@a5a941 and create new stage
2022-08-30 18:59:09,958 INFO [CreateTokenOperation] 1 matching product adapters
2022-08-30 18:59:09,958 INFO [StandaloneUIDisplay] Request password
2022-08-30 18:59:09,958 INFO [UIOperation] Loading /fxml/password-input.fxml view
2022-08-30 18:59:09,965 INFO [StandaloneUIDisplay] Display BorderPane@28dcb1 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:59:09,965 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:59:09,965 INFO [UIOperation] Thread Thread-86 wait on PasswordInputController
2022-08-30 18:59:09,975 INFO [StandaloneUIDisplay] Display BorderPane@28dcb1 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:59:09,975 INFO [StandaloneUIDisplay] Loading ui BorderPane@28dcb1 is a new Stage javafx.stage.Stage@45b94
2022-08-30 18:59:16,472 INFO [UIOperation] Notify from JavaFX Application Thread on PasswordInputController
2022-08-30 18:59:16,472 INFO [UIOperation] Thread Thread-86 resumed on PasswordInputController
2022-08-30 18:59:16,473 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@45b94 and create new stage
2022-08-30 18:59:16,486 INFO [UIOperation] Loading /fxml/save-keystore.fxml view
2022-08-30 18:59:16,500 INFO [StandaloneUIDisplay] Display BorderPane@13cbe55 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86
2022-08-30 18:59:16,500 INFO [StandaloneUIDisplay] Wait on Thread Thread-86
2022-08-30 18:59:16,501 INFO [UIOperation] Thread Thread-86 wait on SaveKeystoreController
2022-08-30 18:59:16,500 INFO [StandaloneUIDisplay] Display BorderPane@13cbe55 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread
2022-08-30 18:59:16,501 INFO [StandaloneUIDisplay] Loading ui BorderPane@13cbe55 is a new Stage javafx.stage.Stage@eb8278
2022-08-30 18:59:23,368 INFO [UIOperation] Notify from JavaFX Application Thread on SaveKeystoreController
2022-08-30 18:59:23,368 INFO [UIOperation] Thread Thread-86 resumed on SaveKeystoreController
2022-08-30 18:59:23,368 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@eb8278 and create new stage
2022-08-30 18:59:23,389 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@cef20e and create new stage
you could now check the Developer Tools, I mean the Javascript console specifially, for any possible errors. From the Javascript code here it seems that here NexU tries to post the certificate data to the server, and stalls for some reason.
...
} else {
updateProgressBar("Computing the digest...", "25%");
var signingCertificate = certificateData.response.certificate;
var certificateChain = certificateData.response.certificateChain;
var encryptionAlgorithm = certificateData.response.encryptionAlgorithm;
tokenId = certificateData.response.tokenId.id;
keyId = certificateData.response.keyId;
var toSend = { signingCertificate: signingCertificate, certificateChain: certificateChain, encryptionAlgorithm: encryptionAlgorithm };
call(/*[[${rootUrl+'/get-data-to-sign'}]]*/, "POST", JSON.stringify(toSend), headers, sign, error);
}
...
Maybe something is wrong with the trust store? - I don't actually remember, if you have to the add the DSS demo site (if you are doing their demo) to the trusted sites - I don't think this is the case, but well, I am just thinking aloud.
Thank you @hello-earth-gh, I received this error, in the console.
after retrying I get this :
( the goals: persons received PDF document online and sign on the application. The company want to be QTSP ( issued certificate ) , and implement the solution on his application with eIDAS compliance. An as yousign. Technically, this demo it is the good case for this purpose ? )
there's something wrong in the way the communication is done between NexU and the DSS site - how did you install NexU? I guess you have downloaded the 1.22 zipped bundle? where did you unzip it, is it still in a subfolder in the Downloads directory? (it should be okay) - have you tried running it from an Administrator command prompt? (or executing NexU-Startup.bat as Administrator)
I don't have a clear picture of what you want to do, but I guess that it's an alright scenario - but as you can see, there are some technical details and a multitude of possible problems that can occur if many completely different users try and use NexU on their machines. The difficulty stems from the fact that there are lots of different hardware PKCS11 tokens with different drivers and different software keystore kinds, plus a multitude of security measures that the operating system itself and/or security administrators of each network impose on different users (in home and/or corporate environments) - so the solution with NexU suits homogenous working environments with similarly configured hardware/software signatures on similar OSes etc.. The other solution would be to use signature tokens stored in a cloud and provided as a service.
In my folder Downloads -> I have downloaded the NexU-1.22.zip, unzipped and executed the .bat file, after to execute the NexU application I execute the .\nexu.jar
Still process blocked at -> /sign-a-pdf/get-data-to-sign
I want to use this demo. get the process and implement it for the application. Scenario : Person received a (PDF document) contract from our platform and can sign, with eIDAS compliance, that all. I don't understand the process, what this DSS project give to us.
after unzipping you should need to just run NexU-Startup.bat, that's all - I just suggested you to try and execute it as Administrator, because NexU might have a problem of accessing network resources... I don't know - I just make guesses here. You don't need to double-click or anything to nexu.jar. There might be a myriad of things going wrong - your Java may be somehow restricted - try doing it from another computer and/or on another network.
As for DSS, it does lots of things on the background - it checks and synchronizes/caches the LOTL lists with the providers and revocation lists that are approved according to EIDAS, among other stuff. This is not actually a place to discuss these things. I'm sorry, I am afraid I can't help you more.
@hello-earth-gh thank you a lot. It still not work, after executing the nexu .bat file : I get the same error. Trying anyway.
@hello-earth-gh it's works fine !!!
My problem was how I generate the keypair, I have used the wrong keytool.
In NexU project > java > bin, we have the right keytool to execute to generate the keypair:
C:\Users\lei\Downloads\nexu-bundle-1.22\nexu-bundle-1.22> .\java\bin\keytool.exe -keystore
hi,
here is an info about similar or the same Error
I tried to sign with my KeyStore file (all test) on Web App but didn't work. This problematic keystore was made with Key Store Explorer 5.5.3, Java 17.0.9. When I used older test keystore, made with OpenSSL and not sure which Java, it worked (at least it worked these days)
I managed to sign with this problematic through some Java code I made, EU-DSS libraries, there it worked. all of these test keystores are .p12
here nexu.log
Thank you @hello-earth-gh ,
I have changed the format extension of the key to .p12 and select pkcs12 to upload the keystore
but still I have an Error :
2022-08-30 18:11:20,608 INFO [UIOperation] Notify from JavaFX Application Thread on ConfigureKeystoreController 2022-08-30 18:11:20,609 INFO [UIOperation] Thread Thread-86 resumed on ConfigureKeystoreController 2022-08-30 18:11:20,609 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@181c2cd and create new stage 2022-08-30 18:11:20,609 INFO [CreateTokenOperation] 1 matching product adapters 2022-08-30 18:11:20,611 INFO [StandaloneUIDisplay] Request password 2022-08-30 18:11:20,611 INFO [UIOperation] Loading /fxml/password-input.fxml view 2022-08-30 18:11:20,617 INFO [StandaloneUIDisplay] Display BorderPane@1af072a in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86 2022-08-30 18:11:20,617 INFO [StandaloneUIDisplay] Wait on Thread Thread-86 2022-08-30 18:11:20,618 INFO [UIOperation] Thread Thread-86 wait on PasswordInputController 2022-08-30 18:11:20,626 INFO [StandaloneUIDisplay] Display BorderPane@1af072a in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread 2022-08-30 18:11:20,626 INFO [StandaloneUIDisplay] Loading ui BorderPane@1af072a is a new Stage javafx.stage.Stage@186a263 2022-08-30 18:11:25,942 INFO [UIOperation] Notify from JavaFX Application Thread on PasswordInputController 2022-08-30 18:11:25,943 INFO [UIOperation] Thread Thread-86 resumed on PasswordInputController 2022-08-30 18:11:25,943 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@186a263 and create new stage 2022-08-30 18:11:25,944 ERROR [GetCertificateFlow] Flow error eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53) at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240) at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49) at lu.nowina.nexu.flow.Flow.execute(Flow.java:55) at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source) at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source) at java.security.KeyStore.load(Unknown Source) at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51) ... 12 more Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.util.ObjectIdentifier.<init>(Unknown Source) at sun.security.util.DerInputStream.getOID(Unknown Source) at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267) at java.security.AlgorithmParameters.init(Unknown Source) ... 16 more 2022-08-30 18:11:25,945 INFO [UIOperation] Loading /fxml/provide-feedback.fxml view 2022-08-30 18:11:25,957 INFO [StandaloneUIDisplay] Display BorderPane@162e846 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86 2022-08-30 18:11:25,957 INFO [StandaloneUIDisplay] Wait on Thread Thread-86 2022-08-30 18:11:25,957 INFO [UIOperation] Thread Thread-86 wait on ProvideFeedbackController 2022-08-30 18:11:25,961 INFO [StandaloneUIDisplay] Display BorderPane@162e846 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread 2022-08-30 18:11:25,961 INFO [StandaloneUIDisplay] Loading ui BorderPane@162e846 is a new Stage javafx.stage.Stage@e6ddec 2022-08-30 18:11:28,322 INFO [UIOperation] Thread Thread-86 resumed on ProvideFeedbackController 2022-08-30 18:11:28,322 ERROR [InternalAPI] Cannot execute request java.util.concurrent.ExecutionException: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at lu.nowina.nexu.InternalAPI.executeRequest(InternalAPI.java:200) at lu.nowina.nexu.InternalAPI.getCertificate(InternalAPI.java:233) at lu.nowina.nexu.rest.RestHttpPlugin.getCertificates(RestHttpPlugin.java:165) at lu.nowina.nexu.rest.RestHttpPlugin.process(RestHttpPlugin.java:76) at lu.nowina.nexu.jetty.RequestProcessor.httpPlugin(RequestProcessor.java:183) at lu.nowina.nexu.jetty.RequestProcessor.handle(RequestProcessor.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) at org.eclipse.jetty.server.Server.handle(Server.java:517) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) at java.lang.Thread.run(Unknown Source) Caused by: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53) at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240) at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49) at lu.nowina.nexu.flow.Flow.execute(Flow.java:55) at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ... 1 more Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source) at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source) at java.security.KeyStore.load(Unknown Source) at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51) ... 12 more Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.util.ObjectIdentifier.<init>(Unknown Source) at sun.security.util.DerInputStream.getOID(Unknown Source) at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267) at java.security.AlgorithmParameters.init(Unknown Source) ... 16 more 2022-08-30 18:11:28,322 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@e6ddec and create new stage 2022-08-30 18:11:35,077 INFO [CheckUserRequestProcessor] User for pid 17684: ariel 2022-08-30 18:11:35,077 INFO [RequestProcessor] Request /nexu.js 2022-08-30 18:11:38,870 INFO [CheckUserRequestProcessor] User for pid 17684: ariel 2022-08-30 18:11:38,870 INFO [RequestProcessor] Request /nexu.js 2022-08-30 18:11:38,965 INFO [CheckUserRequestProcessor] User for pid 17684: ariel 2022-08-30 18:11:39,048 INFO [CheckUserRequestProcessor] User for pid 17684: ariel 2022-08-30 18:11:39,048 INFO [RequestProcessor] Request /rest/certificates 2022-08-30 18:11:39,048 INFO [RequestProcessor] Process request /rest/certificates pluginId: rest 2022-08-30 18:11:39,048 INFO [RestHttpPlugin] PathInfo /certificates 2022-08-30 18:11:39,049 INFO [RestHttpPlugin] Payload '' 2022-08-30 18:11:39,049 INFO [RestHttpPlugin] API call certificates 2022-08-30 18:11:39,049 INFO [RestHttpPlugin] Call API 2022-08-30 18:11:39,049 INFO [UIOperation] Loading /fxml/product-selection.fxml view 2022-08-30 18:11:39,056 INFO [StandaloneUIDisplay] Display BorderPane@a86147 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86 2022-08-30 18:11:39,056 INFO [InternalAPI] Product is instance of KeystoreProductAdapter 2022-08-30 18:11:39,056 INFO [StandaloneUIDisplay] Wait on Thread Thread-86 2022-08-30 18:11:39,056 INFO [InternalAPI] Product is instance of WindowsKeystoreProductAdapter 2022-08-30 18:11:39,056 INFO [UIOperation] Thread Thread-86 wait on ProductSelectionController 2022-08-30 18:11:39,056 INFO [StandaloneUIDisplay] Display BorderPane@a86147 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread 2022-08-30 18:11:39,057 INFO [StandaloneUIDisplay] Loading ui BorderPane@a86147 is a new Stage javafx.stage.Stage@bdadd8 2022-08-30 18:11:42,381 INFO [UIOperation] Notify from JavaFX Application Thread on ProductSelectionController 2022-08-30 18:11:42,381 INFO [UIOperation] Thread Thread-86 resumed on ProductSelectionController 2022-08-30 18:11:42,383 INFO [InternalAPI] Product is instance of KeystoreProductAdapter 2022-08-30 18:11:42,383 INFO [UIOperation] Loading /fxml/configure-keystore.fxml view 2022-08-30 18:11:42,383 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@bdadd8 and create new stage 2022-08-30 18:11:42,393 INFO [StandaloneUIDisplay] Display BorderPane@1cfdce3 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86 2022-08-30 18:11:42,393 INFO [StandaloneUIDisplay] Wait on Thread Thread-86 2022-08-30 18:11:42,393 INFO [UIOperation] Thread Thread-86 wait on ConfigureKeystoreController 2022-08-30 18:11:42,407 INFO [StandaloneUIDisplay] Display BorderPane@1cfdce3 in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread 2022-08-30 18:11:42,407 INFO [StandaloneUIDisplay] Loading ui BorderPane@1cfdce3 is a new Stage javafx.stage.Stage@132240c 2022-08-30 18:11:51,286 INFO [UIOperation] Notify from JavaFX Application Thread on ConfigureKeystoreController 2022-08-30 18:11:51,286 INFO [UIOperation] Thread Thread-86 resumed on ConfigureKeystoreController 2022-08-30 18:11:51,286 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@132240c and create new stage 2022-08-30 18:11:51,286 INFO [CreateTokenOperation] 1 matching product adapters 2022-08-30 18:11:51,287 INFO [StandaloneUIDisplay] Request password 2022-08-30 18:11:51,287 INFO [UIOperation] Loading /fxml/password-input.fxml view 2022-08-30 18:11:51,294 INFO [StandaloneUIDisplay] Display BorderPane@14fb91c in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86 2022-08-30 18:11:51,295 INFO [StandaloneUIDisplay] Wait on Thread Thread-86 2022-08-30 18:11:51,295 INFO [UIOperation] Thread Thread-86 wait on PasswordInputController 2022-08-30 18:11:51,301 INFO [StandaloneUIDisplay] Display BorderPane@14fb91c in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread 2022-08-30 18:11:51,301 INFO [StandaloneUIDisplay] Loading ui BorderPane@14fb91c is a new Stage javafx.stage.Stage@1aa6757 2022-08-30 18:11:58,824 INFO [UIOperation] Notify from JavaFX Application Thread on PasswordInputController 2022-08-30 18:11:58,825 INFO [UIOperation] Thread Thread-86 resumed on PasswordInputController 2022-08-30 18:11:58,825 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@1aa6757 and create new stage 2022-08-30 18:11:58,825 ERROR [GetCertificateFlow] Flow error eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53) at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240) at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49) at lu.nowina.nexu.flow.Flow.execute(Flow.java:55) at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source) at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source) at java.security.KeyStore.load(Unknown Source) at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51) ... 12 more Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.util.ObjectIdentifier.<init>(Unknown Source) at sun.security.util.DerInputStream.getOID(Unknown Source) at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267) at java.security.AlgorithmParameters.init(Unknown Source) ... 16 more 2022-08-30 18:11:58,826 INFO [UIOperation] Loading /fxml/provide-feedback.fxml view 2022-08-30 18:11:58,831 INFO [StandaloneUIDisplay] Display BorderPane@3771bb in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread Thread-86 2022-08-30 18:11:58,831 INFO [StandaloneUIDisplay] Wait on Thread Thread-86 2022-08-30 18:11:58,831 INFO [UIOperation] Thread Thread-86 wait on ProvideFeedbackController 2022-08-30 18:11:58,839 INFO [StandaloneUIDisplay] Display BorderPane@3771bb in display lu.nowina.nexu.StandaloneUIDisplay@ea5ff from Thread JavaFX Application Thread 2022-08-30 18:11:58,840 INFO [StandaloneUIDisplay] Loading ui BorderPane@3771bb is a new Stage javafx.stage.Stage@f3c4bd 2022-08-30 18:12:02,721 INFO [StandaloneUIDisplay] Closing stage javafx.stage.Stage@f3c4bd from JavaFX Application Thread 2022-08-30 18:12:02,736 INFO [UIOperation] Thread Thread-86 resumed on ProvideFeedbackController 2022-08-30 18:12:02,737 ERROR [InternalAPI] Cannot execute request java.util.concurrent.ExecutionException: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at lu.nowina.nexu.InternalAPI.executeRequest(InternalAPI.java:200) at lu.nowina.nexu.InternalAPI.getCertificate(InternalAPI.java:233) at lu.nowina.nexu.rest.RestHttpPlugin.getCertificates(RestHttpPlugin.java:165) at lu.nowina.nexu.rest.RestHttpPlugin.process(RestHttpPlugin.java:76) at lu.nowina.nexu.jetty.RequestProcessor.httpPlugin(RequestProcessor.java:183) at lu.nowina.nexu.jetty.RequestProcessor.handle(RequestProcessor.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) at org.eclipse.jetty.server.Server.handle(Server.java:517) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) at java.lang.Thread.run(Unknown Source) Caused by: eu.europa.esig.dss.DSSException: Unable to instantiate KeyStoreSignatureTokenConnection at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:53) at eu.europa.esig.dss.token.Pkcs12SignatureToken.<init>(Pkcs12SignatureToken.java:44) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.initSignatureTokenConnection(KeystoreProductAdapter.java:212) at lu.nowina.nexu.keystore.KeystoreProductAdapter$KeystoreTokenProxy.getKeys(KeystoreProductAdapter.java:240) at lu.nowina.nexu.flow.operation.SelectPrivateKeyOperation.perform(SelectPrivateKeyOperation.java:89) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:104) at lu.nowina.nexu.flow.GetCertificateFlow.process(GetCertificateFlow.java:49) at lu.nowina.nexu.flow.Flow.execute(Flow.java:55) at lu.nowina.nexu.InternalAPI.lambda$executeRequest$15(InternalAPI.java:195) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ... 1 more Caused by: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.pkcs12.PKCS12KeyStore.parseAlgParameters(Unknown Source) at sun.security.pkcs12.PKCS12KeyStore.engineLoad(Unknown Source) at java.security.KeyStore.load(Unknown Source) at eu.europa.esig.dss.token.KeyStoreSignatureTokenConnection.<init>(KeyStoreSignatureTokenConnection.java:51) ... 12 more Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.util.ObjectIdentifier.<init>(Unknown Source) at sun.security.util.DerInputStream.getOID(Unknown Source) at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267) at java.security.AlgorithmParameters.init(Unknown Source) ... 16 more 2022-08-30 18:12:02,738 INFO [StandaloneUIDisplay] Hide stage javafx.stage.Stage@f3c4bd and create new stage
Hi, I want to use the Demo to sign a pdf. I upload the file, and click on sign: The window of NexU pop up: new keystore -> Type: JKS, Select my .jks key -> my password -> and click on next and get an error. I don't understand why.