Тогда работает, вот что она выдала:
CSP (Type:71) v3.6.5359 KC1 Release Ver:3.6.6497 OS:Linux CPU:AMD64 FastCode:NoHardwareSupport.
CSP (Type:75) v3.6.5359 KC1 Release Ver:3.6.6497 OS:Linux CPU:AMD64 FastCode:NoHardwareSupport.
./csptestf -tlsc -server test.pbki.ru -port 443 -file test/index.html -user сОНКМНЛНВЕММНЕ КХЖН айх -v
Client certificate:
Subject: E=dima@pbki.ru, C=RU, S=пр, L=йЮГЮМЭ, O=оайх, OU=-, CN=сОНКМНЛНВЕММНЕ КХЖН айх
Issuer : E=info@cryptopro.ru, C=RU, O=CRYPTO-PRO, CN=Test Center CRYPTO-PRO
5 algorithms supported:
[0] 1.2.643.2.2.21 (п⌠п·п║п╒ 28147-89)
[1] 1.2.643.2.2.3 (п⌠п·п║п╒ п═ 34.11/34.10-2001)
[2] 0x801f
[3] 1.2.643.2.2.20 (п⌠п·п║п╒ п═ 34.10-94)
[4] 1.2.643.2.2.19 (п⌠п·п║п╒ п═ 34.10-2001)
Cipher strengths: 256..256
Supported protocols: 0x80
ClientHello: RecordLayer: TLS, Len: 91
Cipher Suites: (00 80) (00 32) (01 31) (00 00)
96 bytes of handshake data sent
989 bytes of handshake data received
210 bytes of handshake data sent
31 bytes of handshake data received
Handshake was successful
SECPKG_ATTR_NAMES: C=RU, S=RT, L=Kazan, O=PBKI, OU=IT, CN=test.pbki.ru, E=dima@pbki.ru
Server certificate:
Subject: C=RU, S=RT, L=Kazan, O=PBKI, OU=IT, CN=test.pbki.ru, E=dima@pbki.ru
Issuer : E=info@cryptopro.ru, C=RU, O=CRYPTO-PRO, CN=Test Center CRYPTO-PRO
Protocol: TLS1
Cipher: 0x661e
Cipher strength: 256
Hash: 0x801e
Hash strength: 256
Key exchange: 0xaa25
Key exchange strength: 512
Header: 5, Trailer: 4, MaxMessage: 16379
HTTP request: GET /test/index.html HTTP/1.0
User-Agent: Webclient
Accept:*/*
Sending plaintext: 68 bytes
77 bytes of application data sent
13 bytes of (encrypted) application data received
An error occurred in running the program.
/dailybuilds/mybuild/CSP/samples/csptest/WebClient.c:2178:Can not open file for writing: test/index.html
Error number 0x80092004 (2148081668).
Cannot find object or property.
Decrypted data: 0 bytes
Server requested renegotiate!
100 bytes of handshake data sent
524 bytes of handshake data received
524 bytes of handshake data received
433 bytes of handshake data received
1026 bytes of handshake data sent
35 bytes of handshake data received
Handshake was successful
279 bytes of (encrypted) application data received
Reply status: HTTP/1.1 200 OK
An error occurred in running the program.
/dailybuilds/mybuild/CSP/samples/csptest/WebClient.c:2178:Can not open file for writing: test/index.html
Error number 0x0 (0).
Decrypted data: 270 bytes
No data in socket: OK if file is completely downloaded
Sending Close Notify
11 bytes of handshake data sent
1 connections, 270 bytes in 0.139 seconds;
Total:
[ErrorCode: 0x00000000]
Была ошибка 0x80092004: "Object or property not found" (но это, как понимаю, уже при попытке сохранить страницу).