Re: Проблемы с RSA PKCS11

Здравствуйте, Sergei.83,
рекомендуем сократить количество электронных подписей на носителе Рутокен ЭЦП 2.0, так как для стабильной работы УТМ на Рутокене ЭЦП 2.0 должно быть не более 4 электронных подписей, в том числе ключевых пар без сертификатов. После удаления ключевых пар перезапустите УТМ и проверьте его работу еще раз.

Re: Проблемы с RSA PKCS11

Добрый день!
Перестал запускаться УТМ из-за "проблем с хранилищем RSA ключей" (при запуске УТМ появляется всплывающее окно "Проблемы с RSA PKCS11..)  Выполнил все,что писали в инструкциях( установил заново УТМ новую версию, переустановил драйвер РУтокена,проверил наличие КриптоПро CSP, запускал утилиту исправления таких проблем с сертификатами - ничего не помогает. Сертификаты действующие. В логе  видел такое:
" Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sunCryptographer': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.IllegalStateException: Список сертификатов пуст
    at... "
Что еще посоветуете? Может подключитесь? Могу написать Anydesk.

Re: Проблемы с RSA PKCS11

Здравствуйте, tillyhelp,
пришлите, пожалуйста, скриншот "Панели управления Рутокен" на вкладке Сертификаты и файл лога УТМ (по умолчанию находится в директории "C:\UTM\transporter\l\transport_info.log") на почту hotline@rutoken.ru.

Re: Проблемы с RSA PKCS11

Добрый день! Отправил.

Re: Проблемы с RSA PKCS11

помогите пожалуйста запустить УТМ Егаис. Пишет проблема с RSA PKCS11((

Re: Проблемы с RSA PKCS11

catty2285, добрый день!
Пришлите, пожалуйста, скриншот "Панели управления Рутокен" на вкладке Сертификаты и файл лога УТМ (по умолчанию находится в директории "C:\UTM\transporter\l\transport_info.log") на почту hotline@rutoken.ru.

Re: Проблемы с RSA PKCS11

отправила

Re: Проблемы с RSA PKCS11

в панели управления Рутокен пишет УКазан неправильный тип. Код ошибки 0х800900А. Что делать?

Re: Проблемы с RSA PKCS11

catty2285, протестируйте вашу ЭП через КриптоПро CSP, на вкладке Сервис и пришлите скриншот этого окна.

Re: Проблемы с RSA PKCS11

Добрый день! После перевыпуска ЭЦП в ФНС не запускается УТМ.
Подскажите, пожалуйста, что делать.
RSA сертификаты удалил. УТМ и драйвер рутокена переустановил.
https://forum.rutoken.ru/uploads/images/2025/01/f2240d29c6ff35740d721f6058896efe.jpg



$$\   $$\  $$$$$$$$\  $$\      $$\
$$ |  $$ | \__$$  __| $$$\    $$$ |
$$ |  $$ |    $$ |    $$$$\  $$$$ |
$$ |  $$ |    $$ |    $$\$$\$$ $$ |
$$ |  $$ |    $$ |    $$ \$$$  $$ |
$$ |  $$ |    $$ |    $$ |\$  /$$ |
\$$$$$$  |    $$ |    $$ | \_/ $$ |
  \______/     \__|    \__|     \__|

                    4.2.0b002623


Java HotSpot(TM) Client VM Oracle Corporation 1.8.0_181 x32       
Windows 10 x86 v10.0   



2025-01-27 11:46:50,064 INFO  org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.1.6.Final
2025-01-27 11:46:51,118 INFO  ru.centerinform.transport.backbone.Transport - Starting Transport using Java 1.8.0_181 on DESKTOP-48V3PGK with PID 1144 (C:\UTM\transporter\lib\terminal-backbone-4.2.0.jar started by DESKTOP-48V3PGK$ in C:\UTM\transporter\bin)
2025-01-27 11:46:51,119 INFO  ru.centerinform.transport.backbone.Transport - The following profiles are active: prod
2025-01-27 11:46:53,021 INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-01-27 11:46:53,136 INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 106 ms. Found 11 JPA repository interfaces.
2025-01-27 11:46:55,892 INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
2025-01-27 11:46:55,915 INFO  org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
2025-01-27 11:46:55,915 INFO  org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-01-27 11:46:55,916 INFO  org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.41]
2025-01-27 11:46:56,194 INFO  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-01-27 11:46:56,194 INFO  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 5019 ms
2025-01-27 11:46:57,411 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2025-01-27 11:46:57,464 INFO  com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Driver does not support get/set network timeout for connections. (Feature not implemented: No details.)
2025-01-27 11:46:57,470 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2025-01-27 11:46:57,487 INFO  org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 5.2.4 by Boxfuse
2025-01-27 11:46:57,506 INFO  org.flywaydb.core.internal.database.DatabaseFactory - Database: jdbc:derby:C:/UTM/transporter/bin/../transportDB (Apache Derby 10.14)
2025-01-27 11:46:57,976 INFO  org.flywaydb.core.internal.command.DbValidate - Successfully validated 8 migrations (execution time 00:00.079s)
2025-01-27 11:46:58,028 INFO  org.flywaydb.core.internal.command.DbMigrate - Current version of schema "APP": 8
2025-01-27 11:46:58,029 INFO  org.flywaydb.core.internal.command.DbMigrate - Schema "APP" is up to date. No migration necessary.
2025-01-27 11:46:58,038 INFO  ru.centerinform.transport.backbone.config.DatabaseConfig - Миграция успешно проведена
2025-01-27 11:46:58,240 INFO  org.flywaydb.core.internal.database.DatabaseFactory - Database: jdbc:derby:C:/UTM/transporter/bin/../transportDB (Apache Derby 10.14)
2025-01-27 11:46:58,283 INFO  org.flywaydb.core.internal.command.DbValidate - Successfully validated 8 migrations (execution time 00:00.030s)
2025-01-27 11:46:58,291 INFO  org.flywaydb.core.internal.command.DbMigrate - Current version of schema "APP": 8
2025-01-27 11:46:58,291 INFO  org.flywaydb.core.internal.command.DbMigrate - Schema "APP" is up to date. No migration necessary.
2025-01-27 11:46:58,423 INFO  org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default]
2025-01-27 11:46:58,502 INFO  org.hibernate.Version - HHH000412: Hibernate ORM core version 5.4.25.Final
2025-01-27 11:46:58,846 INFO  org.hibernate.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2025-01-27 11:46:59,002 INFO  org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect
2025-01-27 11:47:00,367 INFO  org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2025-01-27 11:47:00,390 INFO  org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-01-27 11:47:01,451 ERROR ru.centerinform.transport.pki.key.KeyMaster - Ошибка при инициализации RSA
java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at ru.centerinform.transport.pki.key.KeyMaster.o(KeyMaster.java:228)
    at ru.centerinform.transport.pki.key.KeyMaster.n(KeyMaster.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:429)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1780)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
    at ru.centerinform.transport.backbone.Transport.main(Transport.java:18)
2025-01-27 11:47:02,607 INFO  ru.centerinform.transport.crypto.SunCryptographer - Инициализация криптобиблиотеки (token)
2025-01-27 11:47:02,608 ERROR ru.centerinform.transport.crypto.SunCryptographer - Ошибка инициализации криптобиблиотеки
java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at ru.centerinform.transport.crypto.SunCryptographer.g(SunCryptographer.java:148)
    at ru.centerinform.transport.crypto.SunCryptographer.f(SunCryptographer.java:136)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:429)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1780)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1206)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:571)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
    at ru.centerinform.transport.backbone.Transport.main(Transport.java:18)
2025-01-27 11:47:02,609 WARN  org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiGostController': Unsatisfied dependency expressed through field 'certificateInfo'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'certificateInfo': Unsatisfied dependency expressed through field 'cryptographerWrapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cryptographerWrapper' defined in URL [jar:file:/C:/UTM/transporter/lib/terminal-crypto-4.2.0.jar!/ru/centerinform/transport/crypto/CryptographerWrapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sunCryptographer': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
2025-01-27 11:47:02,612 INFO  ru.centerinform.transport.pki.key.KeyMaster - Начало вызова методов финализации

Re: Проблемы с RSA PKCS11

Здравствуйте, qualis97.
Рекомендуем приостановить работу УТМ, воспользоваться утилитой как указано в инструкции и перезапустить УТМ.

Re: Проблемы с RSA PKCS11

Не помогло, через 5 секунд работы останавливается и пишет проблемы с RSA PKCS11.....


$$\   $$\  $$$$$$$$\  $$\      $$\
$$ |  $$ | \__$$  __| $$$\    $$$ |
$$ |  $$ |    $$ |    $$$$\  $$$$ |
$$ |  $$ |    $$ |    $$\$$\$$ $$ |
$$ |  $$ |    $$ |    $$ \$$$  $$ |
$$ |  $$ |    $$ |    $$ |\$  /$$ |
\$$$$$$  |    $$ |    $$ | \_/ $$ |
  \______/     \__|    \__|     \__|

                    4.2.0b002623


Java HotSpot(TM) Client VM Oracle Corporation 1.8.0_181 x32       
Windows 10 x86 v10.0   



2025-01-27 17:41:23,854 INFO  ru.centerinform.transport.backbone.Transport - Starting Transport using Java 1.8.0_181 on DESKTOP-48V3PGK with PID 3800 (C:\UTM\transporter\lib\terminal-backbone-4.2.0.jar started by DESKTOP-48V3PGK$ in C:\UTM\transporter\bin)
2025-01-27 17:41:23,855 INFO  ru.centerinform.transport.backbone.Transport - The following profiles are active: prod
2025-01-27 17:41:25,687 INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-01-27 17:41:25,801 INFO  org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 103 ms. Found 11 JPA repository interfaces.
2025-01-27 17:41:27,637 INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
2025-01-27 17:41:27,652 INFO  org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
2025-01-27 17:41:27,652 INFO  org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-01-27 17:41:27,653 INFO  org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.41]
2025-01-27 17:41:27,798 INFO  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-01-27 17:41:27,798 INFO  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 3890 ms
2025-01-27 17:41:29,198 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2025-01-27 17:41:29,214 INFO  com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Driver does not support get/set network timeout for connections. (Feature not implemented: No details.)
2025-01-27 17:41:29,216 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2025-01-27 17:41:29,228 INFO  org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 5.2.4 by Boxfuse
2025-01-27 17:41:29,243 INFO  org.flywaydb.core.internal.database.DatabaseFactory - Database: jdbc:derby:C:/UTM/transporter/bin/../transportDB (Apache Derby 10.14)
2025-01-27 17:41:29,793 INFO  org.flywaydb.core.internal.command.DbValidate - Successfully validated 8 migrations (execution time 00:00.047s)
2025-01-27 17:41:29,820 INFO  org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory - Creating Schema History table: "APP"."flyway_schema_history"
2025-01-27 17:41:29,924 INFO  org.flywaydb.core.internal.command.DbMigrate - Current version of schema "APP": << Empty Schema >>
2025-01-27 17:41:29,926 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 1 - create
2025-01-27 17:41:30,506 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 2 - IncreaseUUIDSize
2025-01-27 17:41:30,566 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 3 - DocumentsAmntView
2025-01-27 17:41:30,607 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 4 - insert into min retail price
2025-01-27 17:41:30,819 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 5 - alter ticket envelope certificate size 6144
2025-01-27 17:41:30,854 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 6 - alter filters id and filters doc id
2025-01-27 17:41:30,882 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 7 - create declaration info table
2025-01-27 17:41:30,930 INFO  org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 8 - alter decalaration add region
2025-01-27 17:41:30,957 INFO  org.flywaydb.core.internal.command.DbMigrate - Successfully applied 8 migrations to schema "APP" (execution time 00:01.138s)
2025-01-27 17:41:30,963 INFO  ru.centerinform.transport.backbone.config.DatabaseConfig - Миграция успешно проведена
2025-01-27 17:41:31,006 INFO  org.flywaydb.core.internal.database.DatabaseFactory - Database: jdbc:derby:C:/UTM/transporter/bin/../transportDB (Apache Derby 10.14)
2025-01-27 17:41:31,028 INFO  org.flywaydb.core.internal.command.DbValidate - Successfully validated 8 migrations (execution time 00:00.015s)
2025-01-27 17:41:31,035 INFO  org.flywaydb.core.internal.command.DbMigrate - Current version of schema "APP": 8
2025-01-27 17:41:31,035 INFO  org.flywaydb.core.internal.command.DbMigrate - Schema "APP" is up to date. No migration necessary.
2025-01-27 17:41:31,124 INFO  org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default]
2025-01-27 17:41:31,183 INFO  org.hibernate.Version - HHH000412: Hibernate ORM core version 5.4.25.Final
2025-01-27 17:41:31,342 INFO  org.hibernate.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2025-01-27 17:41:31,515 INFO  org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect
2025-01-27 17:41:32,738 INFO  org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2025-01-27 17:41:32,753 INFO  org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-01-27 17:41:33,799 INFO  ru.centerinform.transport.pki.key.KeyMaster - Найден слот смарт-карты [0:Rutoken ECP     ]
2025-01-27 17:41:34,113 WARN  ru.centerinform.transport.util.a - RSA сертификаты не найдены
2025-01-27 17:41:34,116 ERROR ru.centerinform.transport.pki.key.KeyMaster - Ошибка при инициализации RSA
java.lang.IllegalStateException: Список сертификатов пуст
    at ru.centerinform.transport.util.a.a(CertificateUtil.java:56)
    at ru.centerinform.transport.pki.key.KeyMaster.a(KeyMaster.java:563)
    at ru.centerinform.transport.pki.key.KeyMaster.q(KeyMaster.java:304)
    at ru.centerinform.transport.pki.key.KeyMaster.o(KeyMaster.java:263)
    at ru.centerinform.transport.pki.key.KeyMaster.n(KeyMaster.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:429)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1780)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
    at ru.centerinform.transport.backbone.Transport.main(Transport.java:18)
2025-01-27 17:41:35,231 INFO  ru.centerinform.transport.crypto.SunCryptographer - Инициализация криптобиблиотеки (token)
2025-01-27 17:41:35,232 ERROR ru.centerinform.transport.crypto.SunCryptographer - Ошибка инициализации криптобиблиотеки
java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at ru.centerinform.transport.crypto.SunCryptographer.g(SunCryptographer.java:148)
    at ru.centerinform.transport.crypto.SunCryptographer.f(SunCryptographer.java:136)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:429)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1780)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1206)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:571)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
    at ru.centerinform.transport.backbone.Transport.main(Transport.java:18)
2025-01-27 17:41:35,233 WARN  org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiGostController': Unsatisfied dependency expressed through field 'certificateInfo'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'certificateInfo': Unsatisfied dependency expressed through field 'cryptographerWrapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cryptographerWrapper' defined in URL [jar:file:/C:/UTM/transporter/lib/terminal-crypto-4.2.0.jar!/ru/centerinform/transport/crypto/CryptographerWrapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sunCryptographer': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
2025-01-27 17:41:35,239 INFO  ru.centerinform.transport.pki.key.KeyMaster - Начало вызова методов финализации
2025-01-27 17:41:35,241 INFO  ru.centerinform.transport.pki.key.KeyMaster - Завершение вызова методов финализации
2025-01-27 17:41:35,241 INFO  org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2025-01-27 17:41:35,243 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2025-01-27 17:41:35,247 INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
2025-01-27 17:41:35,250 INFO  org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2025-01-27 17:41:35,262 INFO  org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener -

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2025-01-27 17:41:35,287 ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiGostController': Unsatisfied dependency expressed through field 'certificateInfo'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'certificateInfo': Unsatisfied dependency expressed through field 'cryptographerWrapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cryptographerWrapper' defined in URL [jar:file:/C:/UTM/transporter/lib/terminal-crypto-4.2.0.jar!/ru/centerinform/transport/crypto/CryptographerWrapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sunCryptographer': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
    at ru.centerinform.transport.backbone.Transport.main(Transport.java:18)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'certificateInfo': Unsatisfied dependency expressed through field 'cryptographerWrapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cryptographerWrapper' defined in URL [jar:file:/C:/UTM/transporter/lib/terminal-crypto-4.2.0.jar!/ru/centerinform/transport/crypto/CryptographerWrapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sunCryptographer': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    ... 19 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cryptographerWrapper' defined in URL [jar:file:/C:/UTM/transporter/lib/terminal-crypto-4.2.0.jar!/ru/centerinform/transport/crypto/CryptographerWrapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sunCryptographer': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1206)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:571)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
    ... 32 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sunCryptographer': Invocation of init method failed; nested exception is java.lang.IllegalStateException: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:429)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1780)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1367)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1287)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
    ... 45 common frames omitted
Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at ru.centerinform.transport.crypto.SunCryptographer.g(SunCryptographer.java:186)
    at ru.centerinform.transport.crypto.SunCryptographer.f(SunCryptographer.java:136)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
    ... 58 common frames omitted
Caused by: java.lang.IllegalStateException: File [C:\Windows\SysWOW64\jcPKCS11-2.dll] not exists
    at ru.centerinform.transport.crypto.SunCryptographer.g(SunCryptographer.java:148)
    ... 66 common frames omitted
2025-01-27 17:41:35,292 INFO  ru.centerinform.transport.backbone.config.DatabaseConfig - Закрытие БД
2025-01-27 17:41:35,428 INFO  ru.centerinform.transport.backbone.config.DatabaseConfig - Закрытие базы успешно завершено с кодом: 08006

Re: Проблемы с RSA PKCS11

qualis97,
убедитесь, что УТМ остановлен и запустите указанную в инструкции утилиту.
Согласно логам, утилита не смогла корректно завершить настройку УТМ.

Re: Проблемы с RSA PKCS11

Остановлен так как не может подключится и полностью закрывал и переустанавливал УТМ, не помогло.
AnyDesk 1331745528

Re: Проблемы с RSA PKCS11

qualis97,
настройки УТМ теперь корректные, сгенерируйте RSA-ключ и проверьте работу УТМ еще раз.