Статус: Новичок
Группы: Участники
Зарегистрирован: 30.05.2022(UTC) Сообщений: 9
Поблагодарили: 1 раз в 1 постах
|
Автор: Захар Тихонов  Корневой сертификат достаточно установить в mRoot. А CRL от тестового УЦ доступны на клиенте и на сервере по URL из сертификатов? На клиенте выполните 1. csptest -tlsc -server bend.ru -port 443 -v -nosave 2. Разкоментируйте строчку и перезапустите службу и выполните csptest -tlsc -server bend.ru -port 443 -v -nosave -user thumbprint thumbprint - это отпечаток клиентского сертификата. И приложите сертификат клиента и сервера. CRL от тестового УЦ доступны на клиенте - ДА, на сервере -НЕТ, но установил руками в mCA. Без требования клиентского сертификата csptest -tlsc -server bend.ru -port 443 -v -nosave Цитата: 11 algorithms supported: Aglid Class OID [00] 0x661e 0x6000 1.2.643.2.2.21 (ГОСТ 28147-89) [01] 0x6631 0x6000 1.2.643.7.1.1.5.2 (ГОСТ Р 34.12-2015 Кузнечик) [02] 0x6630 0x6000 1.2.643.7.1.1.5.1 (ГОСТ Р 34.12-2015 Магма) [03] 0x801e 0x8000 1.2.643.2.2.3 (ГОСТ Р 34.11/34.10-2001) [04] 0x8021 0x8000 1.2.643.7.1.1.2.2 (ГОСТ Р 34.11-2012 256 бит) [05] 0x801f 0x8000 [06] 0x803d 0x8000 [07] 0x803c 0x8000 [08] 0x2e23 0x2000 1.2.643.2.2.19 (ГОСТ Р 34.10-2001) [09] 0x2e49 0x2000 1.2.643.7.1.1.1.1 (ГОСТ Р 34.10-2012 256 бит) [10] 0x2e3d 0x2000 1.2.643.7.1.1.1.2 (ГОСТ Р 34.10-2012 512 бит) Cipher strengths: 256..256 Supported protocols: 0xa80: Transport Layer Security 1.0 client side Transport Layer Security 1.1 client side Transport Layer Security 1.2 client side dwProtocolMask: 0x800e2aaa Protocol version: 3.3 ClientHello: RecordLayer: TLS, Len: 165 SessionId: (empty) Cipher Suites: (c1 00) (c1 01) (c1 02) (ff 85) (00 81) (c0 30) (c0 2f) (c0 28) (c0 27) (c0 14) (c0 13) (00 9d) (00 9c) (00 3d) (00 3c) (00 35) (00 2f) (00 0a) 170 bytes of handshake data sent 1460 bytes of handshake data received 2904 bytes of handshake data received 229 bytes of handshake data sent 63 bytes of handshake data received Handshake was successful SECPKG_ATTR_SESSION_INFO: Reuse: 0, SessionId: 120957f94feae1da7d3264c453f5b1ebd8831ca4aa2658646a082f1fe4e35bea
SECPKG_ATTR_CIPHER_INFO: Version: 1 SECPKG_ATTR_CIPHER_INFO: Protocol: 303 SECPKG_ATTR_CIPHER_INFO: CipherSuite: c100, TLS_GOSTR341112_256_WITH_KUZNYECHIK_CTR_OMAC SECPKG_ATTR_CIPHER_INFO: BaseCipherSuite: c100 SECPKG_ATTR_CIPHER_INFO: Cipher: GR 34.12-15 K, Len: 256, BlockLen: 1 SECPKG_ATTR_CIPHER_INFO: Hash: GR 34.11-2012 256, Len: 256 SECPKG_ATTR_CIPHER_INFO: Exchange: GOST DH 34.10-2012 256, MinLen: 512, MaxLen: 512 SECPKG_ATTR_CIPHER_INFO: Certificate: GR 34.10-2012 256, KeyType: 0
SECPKG_ATTR_CONNECTION_INFO: Protocol: 0x800 (TLS 1.2) SECPKG_ATTR_CONNECTION_INFO: Cipher: 0x6631 SECPKG_ATTR_CONNECTION_INFO: Cipher strength: 256 SECPKG_ATTR_CONNECTION_INFO: Hash: 0x8021 SECPKG_ATTR_CONNECTION_INFO: Hash strength: 256 SECPKG_ATTR_CONNECTION_INFO: Exch: 0xaa47 SECPKG_ATTR_CONNECTION_INFO: Key exchange strength: 512
SECPKG_ATTR_KEY_INFO: KeySize: 256 SECPKG_ATTR_KEY_INFO: SignatureAlgorithm: 0x2e23, Name: GOST R 34.11 SECPKG_ATTR_KEY_INFO: EncryptAlgorithm: 0x6631, Name: GR 34.12-2015 Kuznyechik
SECPKG_ATTR_SUPPORTED_SIGNATURES: Supported signatures: (ee ee) (40 08) (ef ef) (41 08) (ed ed)
SECPKG_ATTR_NAMES: STREET="улица , дом 1", UnstructuredName="INNLE=77553423/KPP=88888888/OGRN=1111111111", INNLE=72222222, E=info@ru, OGRN=22222222222, C=RU, S=77 Москва, L=Москва, O="АО ""COMPANY""", CN="АО ""COMPANY"""
SECPKG_ATTR_PACKAGE_INFO: fCapabilities: 0x107B3 SECPKG_ATTR_PACKAGE_INFO: wVersion: 1 SECPKG_ATTR_PACKAGE_INFO: wRPCID: 65535 SECPKG_ATTR_PACKAGE_INFO: cbMaxToken: 16379 SECPKG_ATTR_PACKAGE_INFO: Name: CryptoPro SSP SECPKG_ATTR_PACKAGE_INFO: Comment: CryptoPro Security Package
Server certificate: Subject: STREET="улица , дом 1", UnstructuredName="INNLE=77553423/KPP=88888888/OGRN=1111111111", INNLE=72222222, E=info@ru, OGRN=22222222222, C=RU, S=77 Москва, L=Москва, O="АО ""COMPANY""", CN="АО ""COMPANY""" Valid : 27.05.2022 09:14:17 - 27.05.2023 09:24:17 (UTC) Issuer : E=uc@roseltorg.ru, OGRN=1097746299353, INN=007707704692, C=RU, S=77 Москва, L=Москва, STREET="ул. Кожевническая, д. 14, стр. 5", OU=Удостоверяющий центр, O="АО ""ЕЭТП""", CN="АО ""ЕЭТП""" PrivKey: 27.05.2022 09:14:16 - 27.05.2023 09:14:16 (UTC)
SECPKG_ATTR_STREAM_SIZES: Header: 5, Trailer: 16, MaxMessage: 16384 SECPKG_ATTR_STREAM_SIZES: Buffers: 4, BlockSize: 1
SECPKG_ATTR_SIZES: MaxToken: 16384 SECPKG_ATTR_SIZES: MaxSignature: 16 SECPKG_ATTR_SIZES: BlockSize: 1 SECPKG_ATTR_SIZES: SecurityTrailer: 21
HTTP request: GET / HTTP/1.1 User-Agent: Webclient Accept:*/* Host: bend.ru Connection: close
Sending plaintext: 100 bytes 142 bytes of application data sent 314 bytes of (encrypted) application data received Decrypted data: 270 bytes Extra data: 23 bytes Context expired: OK if file is completely downloaded Reply status: HTTP/1.1 200 OK Sending Close Notify 23 bytes of handshake data sent 1 connections, 270 bytes in 0.237 seconds; Total: SYS: 0.030 sec USR: 0.040 sec UTC: 0.260 sec [ErrorCode: 0x00000000]
С требованием клиентского сертификата csptest -tlsc -server bend.ru -port 443 -v -nosave Цитата: 11 algorithms supported: Aglid Class OID [00] 0x661e 0x6000 1.2.643.2.2.21 (ГОСТ 28147-89) [01] 0x6631 0x6000 1.2.643.7.1.1.5.2 (ГОСТ Р 34.12-2015 Кузнечик) [02] 0x6630 0x6000 1.2.643.7.1.1.5.1 (ГОСТ Р 34.12-2015 Магма) [03] 0x801e 0x8000 1.2.643.2.2.3 (ГОСТ Р 34.11/34.10-2001) [04] 0x8021 0x8000 1.2.643.7.1.1.2.2 (ГОСТ Р 34.11-2012 256 бит) [05] 0x801f 0x8000 [06] 0x803d 0x8000 [07] 0x803c 0x8000 [08] 0x2e23 0x2000 1.2.643.2.2.19 (ГОСТ Р 34.10-2001) [09] 0x2e49 0x2000 1.2.643.7.1.1.1.1 (ГОСТ Р 34.10-2012 256 бит) [10] 0x2e3d 0x2000 1.2.643.7.1.1.1.2 (ГОСТ Р 34.10-2012 512 бит) Cipher strengths: 256..256 Supported protocols: 0xa80: Transport Layer Security 1.0 client side Transport Layer Security 1.1 client side Transport Layer Security 1.2 client side dwProtocolMask: 0x800e2aaa Protocol version: 3.3 ClientHello: RecordLayer: TLS, Len: 165 SessionId: (empty) Cipher Suites: (c1 00) (c1 01) (c1 02) (ff 85) (00 81) (c0 30) (c0 2f) (c0 28) (c0 27) (c0 14) (c0 13) (00 9d) (00 9c) (00 3d) (00 3c) (00 35) (00 2f) (00 0a) 170 bytes of handshake data sent 1460 bytes of handshake data received 1460 bytes of handshake data received 2718 bytes of handshake data received Server requested new credentials!
Trying to create new credential Issuer 0: E=client@test.com, CN= ТЕСТ, OU=IT, O=IT, L=Moscow, S=Moscow, C=RU Issuer 1: E=uc@roseltorg.ru, OGRN=1097746299353, INN=007707704692, C=RU, S=77 Москва, L=Москва, STREET="ул. Кожевническая, д. 14, стр. 5", OU=Удостоверяющий центр, O="АО ""ЕЭТП""", CN="АО ""ЕЭТП""" Issuer 2: STREET="улица , дом 1", UnstructuredName="INNLE=742143224/KPP=7432141/OGRN=103423477", INNLE=7424224, E=info@ru, OGRN=1042314327, C=RU, S=77 Москва, L=Москва, O="АО """"", CN="АО """"" Issuer 3: E=dit@minsvyaz.ru, C=RU, S=77 Москва, L=г. Москва, STREET="улица Тверская, дом 7", O=Минкомсвязь России, OGRN=1047702026701, INN=007710474375, CN=Минкомсвязь России Issuer 4: E=support@cryptopro.ru, C=RU, L=Moscow, O=CRYPTO-PRO LLC, CN=CRYPTO-PRO Test Center 2 Issuers: 5, Length: 1261 bytes
Client certificate: Subject: E=client@test.com, CN=ТЕСТ, OU=IT, O=IT, L=Moscow, S=Moscow, C=RU Valid : 26.05.2022 14:37:01 - 26.08.2022 14:47:01 (UTC) Issuer : E=support@cryptopro.ru, C=RU, L=Moscow, O=CRYPTO-PRO LLC, CN=CRYPTO-PRO Test Center 2 CPCSP: CryptoPro CSP license is expired or not yet valid. (o) OK OK
new schannel credential created 11 algorithms supported: Aglid Class OID [00] 0x661e 0x6000 1.2.643.2.2.21 (ГОСТ 28147-89) [01] 0x6631 0x6000 1.2.643.7.1.1.5.2 (ГОСТ Р 34.12-2015 Кузнечик) [02] 0x6630 0x6000 1.2.643.7.1.1.5.1 (ГОСТ Р 34.12-2015 Магма) [03] 0x801e 0x8000 1.2.643.2.2.3 (ГОСТ Р 34.11/34.10-2001) [04] 0x8021 0x8000 1.2.643.7.1.1.2.2 (ГОСТ Р 34.11-2012 256 бит) [05] 0x801f 0x8000 [06] 0x803d 0x8000 [07] 0x803c 0x8000 [08] 0x2e23 0x2000 1.2.643.2.2.19 (ГОСТ Р 34.10-2001) [09] 0x2e49 0x2000 1.2.643.7.1.1.1.1 (ГОСТ Р 34.10-2012 256 бит) [10] 0x2e3d 0x2000 1.2.643.7.1.1.1.2 (ГОСТ Р 34.10-2012 512 бит) Cipher strengths: 256..256 Supported protocols: 0xa80: Transport Layer Security 1.0 client side Transport Layer Security 1.1 client side Transport Layer Security 1.2 client side dwProtocolMask: 0x800e2aaa **** Error 0xffffffff80090304 returned by InitializeSecurityContext (2) ../../../../CSPbuild/CSP/samples/csptest/WebClient.c:765:Error performing handshake. Error 0x80090304: The Local Security Authority cannot be contacted Total: SYS: 0.010 sec USR: 0.010 sec UTC: 3.030 sec [ErrorCode: 0x80090304]
csptest -tlsc -server bend.ru -port 443 -v -nosave -user 7b9aa5fc636bf036f6b2a36d59b8fcacf4ee37c6 Цитата: #0: Subject: E=client@test.com, CN= ТЕСТ, OU=IT, O=IT, L=Moscow, S=Moscow, C=RU Valid : 26.05.2022 14:37:01 - 26.08.2022 14:47:01 (UTC) Issuer : E=support@cryptopro.ru, C=RU, L=Moscow, O=CRYPTO-PRO LLC, CN=CRYPTO-PRO Test Center 2
Client certificate: Subject: E=client@test.com, CN=ТЕСТ, OU=IT, O=IT, L=Moscow, S=Moscow, C=RU Valid : 26.05.2022 14:37:01 - 26.08.2022 14:47:01 (UTC) Issuer : E=support@cryptopro.ru, C=RU, L=Moscow, O=CRYPTO-PRO LLC, CN=CRYPTO-PRO Test Center 2
(o) OK OK 11 algorithms supported: Aglid Class OID [00] 0x661e 0x6000 1.2.643.2.2.21 (ГОСТ 28147-89) [01] 0x6631 0x6000 1.2.643.7.1.1.5.2 (ГОСТ Р 34.12-2015 Кузнечик) [02] 0x6630 0x6000 1.2.643.7.1.1.5.1 (ГОСТ Р 34.12-2015 Магма) [03] 0x801e 0x8000 1.2.643.2.2.3 (ГОСТ Р 34.11/34.10-2001) [04] 0x8021 0x8000 1.2.643.7.1.1.2.2 (ГОСТ Р 34.11-2012 256 бит) [05] 0x801f 0x8000 [06] 0x803d 0x8000 [07] 0x803c 0x8000 [08] 0x2e23 0x2000 1.2.643.2.2.19 (ГОСТ Р 34.10-2001) [09] 0x2e49 0x2000 1.2.643.7.1.1.1.1 (ГОСТ Р 34.10-2012 256 бит) [10] 0x2e3d 0x2000 1.2.643.7.1.1.1.2 (ГОСТ Р 34.10-2012 512 бит) Cipher strengths: 256..256 Supported protocols: 0xa80: Transport Layer Security 1.0 client side Transport Layer Security 1.1 client side Transport Layer Security 1.2 client side dwProtocolMask: 0x800e2aaa Protocol version: 3.3 ClientHello: RecordLayer: TLS, Len: 113 SessionId: (empty) Cipher Suites: (c1 00) (c1 01) (c1 02) (ff 85) (00 81) 118 bytes of handshake data sent 1460 bytes of handshake data received 1460 bytes of handshake data received 2718 bytes of handshake data received **** Error 0xffffffff80090304 returned by InitializeSecurityContext (2) ../../../../CSPbuild/CSP/samples/csptest/WebClient.c:765:Error performing handshake. Error 0x80090304: The Local Security Authority cannot be contacted Total: SYS: 0.060 sec USR: 0.000 sec UTC: 2.060 sec [ErrorCode: 0x80090304]
Отредактировано пользователем 1 июля 2022 г. 9:54:57(UTC)
| Причина: Не указана
|