Отключается служба transport, utm работает 5-10 сек и останавливается
Отключается служба transport, utm работает 5-10 сек и останавливается. Нашел в логах такую ошибку: Caused by: java.lang.IllegalStateException: ГОСТ хранилище не содержит подходящего сертификата
Логи
2022-06-17 11:53:33,169 INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.1.6.Final
2022-06-17 11:53:34,005 INFO ru.centerinform.transport.backbone.Transport - Starting Transport using Java 1.8.0_181 on YANTAMAIN with PID 7904 (C:\UTM\transporter\lib\terminal-backbone-4.2.0.jar started by YANTAMAIN$ in C:\UTM\transporter\bin)
2022-06-17 11:53:34,005 INFO ru.centerinform.transport.backbone.Transport - The following profiles are active: prod
2022-06-17 11:53:35,196 INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2022-06-17 11:53:35,281 INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 89 ms. Found 11 JPA repository interfaces.
2022-06-17 11:53:36,876 INFO org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http)
2022-06-17 11:53:36,889 INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
2022-06-17 11:53:36,890 INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2022-06-17 11:53:36,890 INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.41]
2022-06-17 11:53:37,023 INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2022-06-17 11:53:37,023 INFO org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2991 ms
2022-06-17 11:53:37,669 INFO ru.centerinform.transport.pki.key.KeyMaster - Запуск процесса определения библиотеки
2022-06-17 11:53:37,697 INFO ru.centerinform.transport.pki.key.initialize.TokenInitializer - Найдена dll: C:\Windows\SysWOW64\jcPKCS11-2.dll
2022-06-17 11:53:38,394 INFO ru.centerinform.transport.pki.key.initialize.TokenInitializer - Найдена dll: C:\Windows\SysWOW64\rtPKCS11ECP.dll
2022-06-17 11:53:38,521 INFO ru.centerinform.transport.pki.key.initialize.TokenInitializer - Найден слот смарт-карты [0:Rutoken ECP ]
2022-06-17 11:53:38,522 INFO ru.centerinform.transport.pki.key.initialize.TokenInitializer - Обновление конфигурации rsaPath: C:\Windows\SysWOW64\rtPKCS11ECP-replica.dll, gostPath: C:\Windows\SysWOW64\rtPKCS11ECP.dll, rsaPassword: 12345678, gostPassword: 12345678
2022-06-17 11:53:38,638 INFO ru.centerinform.transport.pki.key.KeyMaster - Найден слот смарт-карты [0:Rutoken ECP ]
2022-06-17 11:53:39,302 INFO ru.centerinform.transport.pki.key.KeyMaster - Используется сертификат SerialNumber: 7167d467000000237046
2022-06-17 11:53:39,303 INFO ru.centerinform.transport.pki.key.KeyMaster - RSA сертификат: [
[
Version: V3
Subject: EMAILADDRESS=E, CN=030000119387, OU=OU, O=O, L=L, ST=S, C=RU
Signature Algorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11
Key: Sun RSA public key, 2048 bits
modulus: 23803859454950503001796608196454836264434688091837992970108805648518228267046379763396723971522227264468888253642275082913591610667627918532581695635359357416624605175691156071644039797733388187186726289063056804693321142018875003211310989196010807164466647257049503267653580718671499443196218314591248929122891111116882742333525370878932872345002680836479434811474712630491257291969024189447131724304074696592536901877556499125330096946767729510612523518838045185055298988170604386232646759607092726284307312117019256255702172207032187480370517389950848364851472802374852656245889205687940548575944448202165692905849
public exponent: 65537
Validity: [From: Tue Jan 25 15:50:26 IRKT 2022,
To: Wed Jan 25 16:00:26 IRKT 2023]
Issuer: CN=pki.fsrar.ru
SerialNumber: [ 7167d467 00000023 7046]
Certificate Extensions: 6
[1]: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false
AuthorityInfoAccess [
[
accessMethod: caIssuers
accessLocation: URIName: http://pki.fsrar.ru/CertEnroll/pki.fsrar.ru.crt
]
]
[2]: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 83 31 47 F3 82 C7 41 4C 19 88 AE 3E 2A F1 16 77 .1G...AL...>*..w
0010: 36 E1 44 BC 6.D.
]
]
[3]: ObjectId: 2.5.29.31 Criticality=false
CRLDistributionPoints [
[DistributionPoint:
[URIName: http://pki.fsrar.ru/CertEnroll/pki.fsrar.ru.crl]
]]
[4]: ObjectId: 2.5.29.37 Criticality=false
ExtendedKeyUsages [
clientAuth
1.2.643.3.6.78.4.49
]
[5]: ObjectId: 2.5.29.15 Criticality=true
KeyUsage [
DigitalSignature
Key_Encipherment
]
[6]: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: A1 C6 0A 4D 07 42 8E E8 39 95 A4 91 BB 67 58 87 ...M.B..9....gX.
0010: 29 FA 7B 66 )..f
]
]
]
Algorithm: [SHA256withRSA]
Signature:
0000: 84 EC E5 CD 0D C0 67 5B E8 B6 1C 6D 50 FE EC 03 ......g[...mP...
0010: 47 B9 F4 30 7E 93 71 47 10 BA 68 85 E5 DE 4F DD G..0..qG..h...O.
0020: 79 E5 36 E3 F1 FF 2D BA 3C 79 FA 24 A3 64 18 F0 y.6...-.<y.$.d..
0030: 6F D1 4B 3D 06 6E 3E BF 5B CB 17 15 66 46 F1 9E o.K=.n>.[...fF..
0040: 62 56 AD 6A EC 2E BA 21 50 0C 86 CD 2B C6 FE D6 bV.j...!P...+...
0050: 3C F4 0C A5 F0 F6 67 82 3C 16 9F 32 FE 8F 4B 5E <.....g.<..2..K^
0060: 2C F6 BD 40 2E A4 D1 BB 8B 1D B3 87 51 2E AB 03 ,..@........Q...
0070: 8A BD 22 FE EF 08 74 D9 F9 C3 DD 83 66 3D A0 C1 .."...t.....f=..
0080: 8C 4C EC F8 24 8F 91 38 47 E9 98 EB E1 77 4C E5 .L..$..8G....wL.
0090: D2 A9 07 95 AD 0E 7A 82 80 3B DB E6 23 61 F7 E2 ......z..;..#a..
00A0: E3 BA D4 52 5B 88 50 F2 1A 5A 0E 93 2A 79 AD A0 ...R[.P..Z..*y..
00B0: 9A 19 4B 7D 96 8B 12 02 C3 AC E9 B8 78 6E C7 F8 ..K.........xn..
00C0: 81 36 6C 2C 86 AB 9B E8 46 1E AA 17 DE E4 81 C3 .6l,....F.......
00D0: BD A3 F7 66 79 22 67 8A 9A 3F 27 69 1E 39 46 2A ...fy"g..?'i.9F*
00E0: 8A 8D 8E AA 3E 5A 9D A9 2C 43 19 89 92 37 C5 38 ....>Z..,C...7.8
00F0: 8D 95 7E 30 85 3D F7 74 08 9C 23 97 33 7E F8 B0 ...0.=.t..#.3...
]
2022-06-17 11:53:39,356 WARN ru.centerinform.transport.pki.key.KeyMaster - Проверка CRL для RSA сертификата отключена
2022-06-17 11:53:39,374 INFO ru.centerinform.transport.backbone.config.DatabaseConfig - FSRAR_ID: [030000119387]
2022-06-17 11:53:46,833 INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2022-06-17 11:53:46,850 INFO com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Driver does not support get/set network timeout for connections. (Feature not implemented: No details.)
2022-06-17 11:53:46,853 INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2022-06-17 11:53:46,866 INFO org.flywaydb.core.internal.license.VersionPrinter - Flyway Community Edition 5.2.4 by Boxfuse
2022-06-17 11:53:46,883 INFO org.flywaydb.core.internal.database.DatabaseFactory - Database: jdbc:derby:C:/UTM/transporter/bin/../transportDB (Apache Derby 10.14)
2022-06-17 11:53:47,248 INFO org.flywaydb.core.internal.command.DbValidate - Successfully validated 7 migrations (execution time 00:00.024s)
2022-06-17 11:53:47,260 INFO org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory - Creating Schema History table: "APP"."flyway_schema_history"
2022-06-17 11:53:47,705 INFO org.flywaydb.core.internal.command.DbMigrate - Current version of schema "APP": << Empty Schema >>
2022-06-17 11:53:47,706 INFO org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 1 - create
2022-06-17 11:53:53,078 INFO org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 2 - IncreaseUUIDSize
2022-06-17 11:53:53,187 INFO org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 3 - DocumentsAmntView
2022-06-17 11:53:53,246 INFO org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 4 - insert into min retail price
2022-06-17 11:53:53,792 INFO org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 5 - alter ticket envelope certificate size 6144
2022-06-17 11:53:53,841 INFO org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 6 - alter filters id and filters doc id
2022-06-17 11:53:53,881 INFO org.flywaydb.core.internal.command.DbMigrate - Migrating schema "APP" to version 7 - create declaration info table
2022-06-17 11:53:54,267 INFO org.flywaydb.core.internal.command.DbMigrate - Successfully applied 7 migrations to schema "APP" (execution time 00:07.007s)
2022-06-17 11:53:54,271 INFO ru.centerinform.transport.backbone.config.DatabaseConfig - Миграция успешно проведена
2022-06-17 11:53:54,345 INFO org.flywaydb.core.internal.database.DatabaseFactory - Database: jdbc:derby:C:/UTM/transporter/bin/../transportDB (Apache Derby 10.14)
2022-06-17 11:53:54,368 INFO org.flywaydb.core.internal.command.DbValidate - Successfully validated 7 migrations (execution time 00:00.018s)
2022-06-17 11:53:54,381 INFO org.flywaydb.core.internal.command.DbMigrate - Current version of schema "APP": 7
2022-06-17 11:53:54,381 INFO org.flywaydb.core.internal.command.DbMigrate - Schema "APP" is up to date. No migration necessary.
2022-06-17 11:53:54,470 INFO org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [name: default]
2022-06-17 11:53:54,533 INFO org.hibernate.Version - HHH000412: Hibernate ORM core version 5.4.25.Final
2022-06-17 11:53:54,667 INFO org.hibernate.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2022-06-17 11:53:54,798 INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect
2022-06-17 11:53:55,742 INFO org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-06-17 11:53:55,752 INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-06-17 11:53:55,896 INFO ru.centerinform.transport.crypto.SunCryptographer - Инициализация криптобиблиотеки (token)
2022-06-17 11:53:56,776 ERROR ru.centerinform.transport.crypto.SunCryptographer - Ошибка инициализации криптобиблиотеки
java.lang.IllegalStateException: ГОСТ хранилище не содержит подходящего сертификата
at ru.centerinform.transport.crypto.SunCryptographer.a(SunCryptographer.java:402)
at ru.centerinform.transport.crypto.SunCryptographer.g(SunCryptographer.java:320)
at ru.centerinform.transport.crypto.SunCryptographer.f(SunCryptographer.java:148)
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.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)
2022-06-17 11:53:56,784 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 '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: ГОСТ хранилище не содержит подходящего сертификата
2022-06-17 11:53:56,784 INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
2022-06-17 11:53:56,784 INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated...
2022-06-17 11:53:56,784 INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed.
2022-06-17 11:53:56,804 INFO ru.centerinform.transport.pki.key.KeyMaster - Начало вызова методов финализации
2022-06-17 11:53:56,840 INFO ru.centerinform.transport.pki.key.KeyMaster - Завершение вызова методов финализации
2022-06-17 11:53:56,843 INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2022-06-17 11:53:56,861 INFO org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-06-17 11:53:56,895 ERROR org.springframework.boot.SpringApplication - Application run failed
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: ГОСТ хранилище не содержит подходящего сертификата
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 '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: ГОСТ хранилище не содержит подходящего сертификата
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)
... 19 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: ГОСТ хранилище не содержит подходящего сертификата
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)
... 32 common frames omitted
Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: ГОСТ хранилище не содержит подходящего сертификата
at ru.centerinform.transport.crypto.SunCryptographer.f(SunCryptographer.java:164)
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)
... 45 common frames omitted
Caused by: java.lang.IllegalStateException: ГОСТ хранилище не содержит подходящего сертификата
at ru.centerinform.transport.crypto.SunCryptographer.a(SunCryptographer.java:402)
at ru.centerinform.transport.crypto.SunCryptographer.g(SunCryptographer.java:320)
at ru.centerinform.transport.crypto.SunCryptographer.f(SunCryptographer.java:148)
... 52 common frames omitted
2022-06-17 11:53:56,910 INFO ru.centerinform.transport.backbone.config.DatabaseConfig - Закрытие БД
2022-06-17 11:53:59,788 INFO ru.centerinform.transport.backbone.config.DatabaseConfig - Закрытие базы успешно завершено с кодом: 08006
2022-06-17 11:54:39,348 INFO org.springframework.boot.SpringApplication -