Ключевое слово в защите информации
КЛЮЧЕВОЕ СЛОВО
в защите информации
Получить ГОСТ TLS-сертификат для домена (SSL-сертификат)
Добро пожаловать, Гость! Чтобы использовать все возможности Вход или Регистрация.

Уведомление

Icon
Error

4 Страницы<1234>
Опции
К последнему сообщению К первому непрочитанному
Offline Jesterson  
#11 Оставлено : 26 мая 2009 г. 19:51:21(UTC)
Jesterson

Статус: Активный участник

Группы: Участники
Зарегистрирован: 25.05.2009(UTC)
Сообщений: 30
Откуда: Moscow

IvanZzz написал:
Установите КриптоПро Revocation Provider: http://cryptopro.ru/cryp...download/default.asp?n=3 без ввода лицензии. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\OID\EncodingType 1\CertDllVerifyRevocation\DEFAULT ключ Dll должен поменяться на reprov.dll, проверка будет проходить через наш RP.


Сейчас попробуем.

Да, раз уж я затронул тему апдейта СДК, то вот ещё проблема, после апгрейда до новой СДК при входе в форму редактирования политик возникает ошибка:

Обнаружена следующая ошибка в C:\WINDOWS\System32\GroupPolicy\Adm\ocspcli.adm, строка 562:

Ошибка 62 Соответствующая строка не найдена в секции [strings]

Найдено: !!NotUseMSRP
Offline Jesterson  
#12 Оставлено : 26 мая 2009 г. 20:27:02(UTC)
Jesterson

Статус: Активный участник

Группы: Участники
Зарегистрирован: 25.05.2009(UTC)
Сообщений: 30
Откуда: Moscow

После установки RP и прописывания его dll-ки в реестр проблема с проверкой штампа времени исчезла, но ошибка при формировании подписи всё равно осталась. Вот лог от дебагвью при вызове CadesSignMessage:

Код:
cades.dll: {2168} /CadesSignMessage/ cades.cpp(2073) : (pSignPara=0x0012F814, fDetachedSignature=-1, cToBeSigned=1, rgpbToBeSigned=0x0012F89C, rgcbToBeSigned=0x0012F890, ppSignedBlob=0x0012F884)
cades.dll: {2168} /CadesSignMessageImpl/ cades.cpp(1936) : Signer updating start
cades.dll: {2168} /CadesSignMessageImpl/ cades.cpp(1939) :  Hash algorithm deduced
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::AttributeExists/ cades.cpp(164) : (pAttr=0)
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(356) :  Signer does not have any of signing-certificate attributes
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(369) :  Attributes copied
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(372) :  signing-certificate(-v2) attribute assembled
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(384) :  Signer is updated successfully
cades.dll: {2168} /CadesMsgOpenToEncode/ cades.cpp(493) : (dwMsgEncodingType=0x00010001, dwFlags=0x00000004, pvMsgEncodeInfo=0x0012F2C8, pszInnerContentObjID=0, pStreamInfo=0x00000000)
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(437) : Start
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(441) : Input parameters checked
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(450) : Copy of input structures is ready
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(456) : Signers updating start
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(461) : Signer #0
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::CheckAlgorithms/ cades.cpp(402) :  Public key info is exported successfully
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::CheckAlgorithms/ cades.cpp(409) :  Signature algoritm OID info is found: 1.2.643.2.2.3
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(468) :  Certificates equality checked
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::DeduceHashAlgorithm/ cades.cpp(140) : (szHashAlgorithm=1.2.643.2.2.9)
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(470) :  Hash algorithm deduced
cades.dll: {2168} /CadesMsgOpenToEncodeImplNamespace::AttributeExists/ cades.cpp(159) : (pAttr->pszObjId=1.2.840.113549.1.9.16.2.47)
cades.dll: {2168} /CadesMsgOpenToEncodeImpl/ cades.cpp(481) : Calling CryptMsgOpenToEncode()
cades.dll: {2168} /CadesMsgOpenToEncode/ cades.cpp(515) : (hMsg=0x001DAEF0, GetLastError=0x00000000)
cades.dll: {2168} /CadesMsgEnhanceSignature/ cades.cpp(1228) : (hCryptMsg=0x001DAEF0, dwSignatureIndex=0, pCadesSignPara=0x0012F334)
cades.dll: {2168} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1048) : Input parameters checked
cades.dll: {2168} /CryptoPro::ExtractSignedAttributes/ cryptutil.inl(416) : Signed attributes extracted via CMSG_SIGNER_AUTH_ATTR_PARAM
cades.dll: {2168} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1052) : Signer certificate ID found
cades.dll: {2168} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1067) : pSignerCert=0x0024F4D8
cades.dll: {2168} /CadesMsgGetType/ CadesMsgGetType.cpp(134) : (hCryptMsg=0x001DAEF0, dwSignatureIndex=0, pdwCadesType=0x0012EC90)
cades.dll: {2168} /CadesMsgGetType/ CadesMsgGetType.cpp(151) : (res=1, GetLastError=0x00000000
cades.dll: {2168} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1109) : Hash algorithm deduced
cades.dll: {2168} /CadesMsgEnhanceSignatureImplNamespace::ExtractSignature/ cades.cpp(545) : Signature extracted via CMSG_ENCRYPTED_DIGEST
tspcli.dll: {2168} /CryptoPro::PKI::TSP::Client::CRequest::Impl::CheckPolicies/ TSPRequest_Impl.cpp(201) : Checking policies...
tspcli.dll: {2168} /CryptoPro::PKI::TSP::Client::CRequest::Impl::CheckPolicies/ TSPRequest_Impl.cpp(287) : Checking policies... OK.
tspcli.dll: {2168} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(157) : Making request...
tspcli.dll: {2168} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(177) : Initializing request...
tspcli.dll: {2168} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(191) : Encoding request...
tspcli.dll: {2168} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(195) : Making request... OK.
16:15:12.868 ::*Session* :: WinHttpCrackUrl("http://www.cryptopro.ru/tsp/tsp.srf", 0x0, 0x0, 0x12e64c) 
16:15:12.868 ::*Session* :: WinHttpCrackUrlA("http://www.cryptopro.ru/tsp/tsp.srf", 0x23, 0x0, 0x12e4f8) 
16:15:12.868 ::*Session* :: WinHttpCrackUrlA() returning TRUE 
16:15:12.868 ::*Session* :: WinHttpCrackUrl() returning TRUE 
16:15:12.868 ::*Session* :: WinHttpOpen("Crypto-Pro tspcli.dll",  (1), "", "", 0x0) 
16:15:12.868 ::*Session* :: WinHttpOpen() returning handle 0x1c95000 
16:15:12.868 ::*Session* :: WinHttpCrackUrl("http://user:pass@proxy.bftcom.com:8080", 0x0, 0x0, 0x12e688) 
16:15:12.868 ::*Session* :: WinHttpCrackUrlA("http://user:pass@proxybftcom.com:8080", 0x2d, 0x0, 0x12e4f8) 
16:15:12.868 ::*Session* :: WinHttpCrackUrlA() returning TRUE 
16:15:12.868 ::*Session* :: WinHttpCrackUrl() returning TRUE 
16:15:12.868 ::*Session* :: WinHttpSetOption(0x1c95000,  (38), 0x12e630 [0x3], 12) 
16:15:12.868 ::*Session* :: WinHttpSetOption() returning TRUE 
16:15:12.868 ::*Session* :: WinHttpConnect(0x1c95000, "www.cryptopro.ru", 80, 0x0) 
16:15:12.868 ::*Session* :: WinHttpConnect() returning handle 0x1c95300 
16:15:12.868 ::*Session* :: WinHttpOpenRequest(0x1c95300, "POST", "tsp/tsp.srf", "", "", 0x0, 0x00000000) 
16:15:12.868 ::*Session* :: WinHttpCreateUrlA(0x12e3d8, 0x0, 0xacb0000, 0x12e414) 
16:15:12.868 ::*Session* :: WinHttpCreateUrlA() returning TRUE 
16:15:12.868 ::*0000003* :: WinHttpOpenRequest() returning handle 0xaca0000 
16:15:12.868 ::*0000003* :: WinHttpSetOption(0xaca0000,  (77), 0x12e5fc [0x2], 4) 
16:15:12.868 ::*0000003* :: WinHttpSetOption() returning TRUE 
16:15:12.868 ::*0000003* :: WinHttpSendRequest(0xaca0000, "Content-type: application/timestamp-query", -1, 0xa7249b0, 64, 64, 0) 
16:15:12.868 ::*0000003* :: WinHttpCreateUrlA(0x12e370, 0x0, 0xacb0000, 0x12e354) 
16:15:12.868 ::*0000003* :: WinHttpCreateUrlA() returning TRUE 
16:15:12.868 ::*0000003* :: Using proxy server: proxy.bftcom.com:8080 
16:15:12.868 ::*0000003* :: "proxy.bftcom.com" resolved 
16:15:12.868 ::*0000003* :: sending data: 
16:15:12.868 ::*0000003* :: 269 (0x10d) bytes 
16:15:12.868 ::*0000003* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>> 
16:15:12.868 ::*0000003* :: 
POST http://www.cryptopro.ru/tsp/tsp.srf HTTP/1.1 
16:15:12.868 ::*0000003* :: Content-type: application/timestamp-query 
16:15:12.868 ::*0000003* :: User-Agent: Crypto-Pro tspcli.dll 
16:15:12.868 ::*0000003* :: 
Host: www.cryptopro.ru 
16:15:12.868 ::*0000003* :: Content-Length: 64 
16:15:12.868 ::*0000003* :: 
Proxy-Connection: Keep-Alive
 
16:15:12.868 ::*0000003* :: <<<<-------- End ----------------------------------------------->>>> 
16:15:12.868 ::*0000003* :: WinHttpSendRequest() returning TRUE 
16:15:12.868 ::*0000003* :: WinHttpReceiveResponse(0xaca0000, 0x0) 
16:15:12.868 ::*0000003* :: received data: 
16:15:12.868 ::*0000003* :: 1024 (0x400) bytes 
16:15:12.868 ::*0000003* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>> 
16:15:12.868 ::*0000003* :: 
HTTP/1.0 407 Proxy Authentication Required 
16:15:12.868 ::*0000003* :: Server: squid/2.6.STABLE19 
16:15:12.868 ::*0000003* :: Date: Tue, 26 May 2009 12:15:13 GMT 
16:15:12.868 ::*0000003* :: Content-Type: text/html 
16:15:12.868 ::*0000003* :: 
Content-Length: 1342 
16:15:12.868 ::*0000003* :: Expires: Tue, 26 May 2009 12:15:13 GMT 
16:15:12.868 ::*0000003* :: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0 
16:15:12.868 ::*0000003* :: Proxy-Authenticate: Basic realm
="Squid proxy-caching web server" 
16:15:12.868 ::*0000003* :: X-Cache: MISS from igwbft2.bftcom.com 
16:15:12.868 ::*0000003* :: X-Cache-Lookup: NONE from igwbft2.bftcom.com:8080 
16:15:12.868 ::*0000003* :: 
Via: 1.0 igwbft2.bftcom.com:8080 (squid/2.6.STABLE19) 
16:15:12.868 ::*0000003* :: 
Proxy-Connection: close
 
16:15:12.868 ::*0000003* :: <<<<-------- End ----------------------------------------------->>>> 
16:15:12.868 ::*0000003* :: WinHttpReceiveResponse() returning TRUE 

16:15:12.868 ::*0000003* :: WinHttpQueryHeaders(0xaca0000,  (0x20000013), "null", 0xa99229c, 0x12e600 [4], 0x0 [0]) 

16:15:12.868 ::*0000003* :: WinHttpQueryHeaders() returning TRUE 
16:15:12.868 ::*0000003* :: WinHttpQueryAuthSchemes(0xaca0000, 0x12e5f8, 0x12e61c) 
16:15:12.868 ::*0000003* :: WinHttpQueryAuthSchemes() returning TRUE 
16:15:12.868 ::*0000003* :: WinHttpQueryAuthSchemes(0xaca0000, 0x12e5f8, 0x12e61c) 
16:15:12.868 ::*0000003* :: WinHttpQueryAuthSchemes() returning TRUE 
16:15:12.868 ::*0000003* :: WinHttpCloseHandle(0xaca0000) 
16:15:12.868 ::*0000003* :: WinHttpCloseHandle() returning TRUE 
16:15:12.868 ::*Session* :: WinHttpCloseHandle(0x1c95300) 
16:15:12.868 ::*Session* :: WinHttpCloseHandle() returning TRUE 
tspcli.dll: {2168} /CryptoPro::PKI::TSP::Client::CRequest::Send/ TSPRequest.cpp(159) : HTTP STATUS: 407
16:15:12.868 ::*Session* :: WinHttpCloseHandle(0x1c95000) 
16:15:12.868 ::*Session* :: WinHttpCloseHandle() returning TRUE 

cades.dll: {2168} /CadesMsgEnhanceSignature/ cades.cpp(1238) : CAtlException, m_hr=0xc2100100
cades.dll: {2168} /CadesMsgEnhanceSignature/ cades.cpp(1248) : (res=0, GetLastError=0xc2100100
cades.dll: {2168} /CadesSignMessageImpl/ cades.cpp(2046) : Expression FAILED: ::CadesMsgEnhanceSignature(msgDecode.GetHandle(), 0, &cadesSignPara)
cades.dll: {2168} /CadesSignMessageImpl/ cades.cpp(2046) : Last win32 error thrown as exception
cades.dll: {2168} /CadesSignMessage/ cades.cpp(2086) : CAtlException, m_hr=0xc2100100
cades.dll: {2168} /CadesSignMessage/ cades.cpp(2096) : (res=0, GetLastError=0xc2100100


PS:
Форум не дает запостить лог, если в строчке
Код:
16:15:12.868 ::*0000003* :: WinHttpQueryHeaders(0xaca0000,  (0x20000013), "null", 0xa99229c, 0x12e600 [4], 0x0 [0]) 

у null не удалить обрамление <>.

Отредактировано пользователем 26 мая 2009 г. 20:56:26(UTC)  | Причина: Не указана

Offline Максим Коллегин  
#13 Оставлено : 27 мая 2009 г. 2:59:39(UTC)
Максим Коллегин

Статус: Сотрудник

Группы: Администраторы
Зарегистрирован: 12.12.2007(UTC)
Сообщений: 6,393
Мужчина
Откуда: КРИПТО-ПРО

Сказал «Спасибо»: 37 раз
Поблагодарили: 717 раз в 621 постах
защита от html :)
Знания в базе знаний, поддержка в техподдержке
Offline Jesterson  
#14 Оставлено : 27 мая 2009 г. 13:17:47(UTC)
Jesterson

Статус: Активный участник

Группы: Участники
Зарегистрирован: 25.05.2009(UTC)
Сообщений: 30
Откуда: Moscow

maxdm написал:
защита от html :)


Понял (:

По поводу лога никаких соображений нет? Поставили новую SDK на чистую виртуалку - так же глючит. При этом со старой версией всё работает на тех же настройках.
Offline Павел Смирнов  
#15 Оставлено : 27 мая 2009 г. 16:24:02(UTC)
Павел Смирнов

Статус: Вам и не снилось

Группы: Администраторы
Зарегистрирован: 24.12.2007(UTC)
Сообщений: 831
Откуда: Крипто-Про

Сказал(а) «Спасибо»: 1 раз
Поблагодарили: 48 раз в 44 постах
Сейчас в логе чётко написано, что прокси требует аутентификации, и в этом беда. Я удивлюсь, если такой же код на старом SDK успешно создаст подпись. Пришлите и этот лог тоже.

Если необходимо прорваться через прокси с аутентификацией, вам надо заполнить в параметрах вызова структуру http://www.cryptopro.ru/..._r_o_x_y___p_a_r_a.html, в которой указать необходимые настройки.

P.S. Ошибку в ocspcli.adm уже поправили, скоро выложим дистрибутив.
Техническую поддержку оказываем тут.
Наша база знаний.
Offline Jesterson  
#16 Оставлено : 27 мая 2009 г. 20:16:43(UTC)
Jesterson

Статус: Активный участник

Группы: Участники
Зарегистрирован: 25.05.2009(UTC)
Сообщений: 30
Откуда: Moscow

Вот лог с новой СДК (ошибка):
Код:
00000000  0.00000000  [2480] .\Externs.cpp(33) : /Init/ 
00000001  0.04609636  [2480] .\CPSettings.cpp(156) : /Init/ 
00000002  0.06132986  [2480] cades.dll: {2528} /DllMain/ cades.cpp(3792) : hInstance=6E000000, dwReason=1 lpReserved=0  
00000003  0.08954183  [2480] cades.dll: {2528} /CadesSignMessage/ cades.cpp(2073) : (pSignPara=0x0012F81C, fDetachedSignature=-1, cToBeSigned=1, rgpbToBeSigned=0x0012F89C, rgcbToBeSigned=0x0012F890, ppSignedBlob=0x0012F88C) 
00000004  0.22327502  [2480] cades.dll: {2528} /CadesSignMessageImpl/ cades.cpp(1936) : Signer updating start 
00000005  0.23706113  [2480] cades.dll: {2528} /CadesSignMessageImpl/ cades.cpp(1939) :  Hash algorithm deduced 
00000006  0.23878677  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::AttributeExists/ cades.cpp(164) : (pAttr=0)  
00000007  0.23907313  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(356) :  Signer does not have any of signing-certificate attributes 
00000008  0.23954637  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(369) :  Attributes copied  
00000009  0.60116833  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(372) :  signing-certificate(-v2) attribute assembled 
00000010  0.60487407  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(384) :  Signer is updated successfully 
00000011  0.60512048  [2480] cades.dll: {2528} /CadesMsgOpenToEncode/ cades.cpp(493) : (dwMsgEncodingType=0x00010001, dwFlags=0x00000004, pvMsgEncodeInfo=0x0012F2D0, pszInnerContentObjID=0, pStreamInfo=0x00000000) 
00000012  0.60529172  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(437) : Start  
00000013  0.60547024  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(441) : Input parameters checked 
00000014  0.60565716  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(450) : Copy of input structures is ready  
00000015  0.60582227  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(456) : Signers updating start 
00000016  0.60740513  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(461) : Signer #0  
00000017  3.14047766  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::CheckAlgorithms/ cades.cpp(402) :  Public key info is exported successfully  
00000018  3.14898229  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::CheckAlgorithms/ cades.cpp(409) :  Signature algoritm OID info is found: 1.2.643.2.2.3 
00000019  3.14969802  [2480] cades.dll: {4088} /DllMain/ cades.cpp(3792) : hInstance=6E000000, dwReason=2 lpReserved=0  
00000020  3.16255116  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(468) :  Certificates equality checked 
00000021  3.16272664  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::DeduceHashAlgorithm/ cades.cpp(140) : (szHashAlgorithm=1.2.643.2.2.9)  
00000022  3.16286707  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(470) :  Hash algorithm deduced  
00000023  3.16312838  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImplNamespace::AttributeExists/ cades.cpp(159) : (pAttr->pszObjId=1.2.840.113549.1.9.16.2.47) 
00000024  3.16368079  [2480] cades.dll: {2528} /CadesMsgOpenToEncodeImpl/ cades.cpp(481) : Calling CryptMsgOpenToEncode() 
00000025  3.17574477  [2480] cades.dll: {2528} /CadesMsgOpenToEncode/ cades.cpp(515) : (hMsg=0x05F19D50, GetLastError=0x00000000) 
00000026  3.18756890  [2480] cades.dll: {2528} /CadesMsgEnhanceSignature/ cades.cpp(1228) : (hCryptMsg=0x05F19D50, dwSignatureIndex=0, pCadesSignPara=0x0012F33C) 
00000027  3.18946004  [2480] cades.dll: {2528} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1048) : Input parameters checked  
00000028  3.19192386  [2480] cades.dll: {2528} /CryptoPro::ExtractSignedAttributes/ cryptutil.inl(416) : Signed attributes extracted via CMSG_SIGNER_AUTH_ATTR_PARAM  
00000029  3.19265223  [2480] cades.dll: {2528} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1052) : Signer certificate ID found 
00000030  3.19285607  [2480] cades.dll: {2528} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1067) : pSignerCert=0x001CDFD8  
00000031  3.20831633  [2480] cades.dll: {2528} /CadesMsgGetType/ CadesMsgGetType.cpp(134) : (hCryptMsg=0x05F19D50, dwSignatureIndex=0, pdwCadesType=0x0012EC98) 
00000032  3.20851707  [2480] cades.dll: {2528} /CadesMsgGetType/ CadesMsgGetType.cpp(151) : (res=1, GetLastError=0x00000000 
00000033  3.20880651  [2480] cades.dll: {2528} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1109) : Hash algorithm deduced  
00000034  3.21033931  [2480] cades.dll: {2528} /CadesMsgEnhanceSignatureImplNamespace::ExtractSignature/ cades.cpp(545) : Signature extracted via CMSG_ENCRYPTED_DIGEST 
00000035  3.25057316  [2480] .\Externs.cpp(33) : /Init/ 
00000036  3.25196218  [2480] .\CPSettings.cpp(156) : /Init/ 
00000037  3.30390978  [2480] tspcli.dll: {2528} /CryptoPro::PKI::TSP::Client::CRequest::Impl::CheckPolicies/ TSPRequest_Impl.cpp(201) : Checking policies...  
00000038  3.30439758  [2480] tspcli.dll: {2528} /CryptoPro::PKI::TSP::Client::CRequest::Impl::CheckPolicies/ TSPRequest_Impl.cpp(287) : Checking policies... OK.  
00000039  3.30448484  [2480] tspcli.dll: {2528} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(157) : Making request... 
00000040  3.32476139  [2480] tspcli.dll: {2528} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(177) : Initializing request... 
00000041  3.55806065  [2480] .\Externs.cpp(33) : /Init/ 
00000042  3.58140969  [2480] .\CPSettings.cpp(156) : /Init/ 
00000043  3.58947372  [2480] tspcli.dll: {2528} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(191) : Encoding request... 
00000044  3.64130068  [2480] tspcli.dll: {2528} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(195) : Making request... OK. 
00000045  3.66419816  [2480] 15:47:30.405 ::*Session* :: WinHttpCrackUrl("http://www.cryptopro.ru/tsp/tsp.srf", 0x0, 0x0, 0x12e654)   
00000046  3.67521811  [2480] 15:47:30.421 ::*Session* :: WinHttpCrackUrlA("http://www.cryptopro.ru/tsp/tsp.srf", 0x23, 0x0, 0x12e500)   
00000047  3.68594790  [2480] 15:47:30.437 ::*Session* :: WinHttpCrackUrlA() returning TRUE  
00000048  3.68612862  [2480] 15:47:30.437 ::*Session* :: WinHttpCrackUrl() returning TRUE   
00000049  3.68660688  [2480] 15:47:30.437 ::*Session* :: WinHttpOpen("Crypto-Pro tspcli.dll",  (1), "", "", 0x0)  
00000050  3.69125748  [2480] 15:47:30.437 ::*Session* :: WinHttpOpen() returning handle 0x1af5000   
00000051  3.69143653  [2480] 15:47:30.437 ::*Session* :: WinHttpCrackUrl("http://user:pass@proxy.bftcom.com:8080", 0x0, 0x0, 0x12e690)   
00000052  3.69260263  [2480] 15:47:30.437 ::*Session* :: WinHttpCrackUrlA("http://user:pass@proxy.bftcom.com:8080", 0x31, 0x0, 0x12e500)   
00000053  3.69284868  [2480] 15:47:30.437 ::*Session* :: WinHttpCrackUrlA() returning TRUE  
00000054  3.69311023  [2480] 15:47:30.437 ::*Session* :: WinHttpCrackUrl() returning TRUE   
00000055  3.69411564  [2480] 15:47:30.437 ::*Session* :: WinHttpSetOption(0x1af5000,  (38), 0x12e638 [0x3], 12)   
00000056  3.69442225  [2480] 15:47:30.437 ::*Session* :: WinHttpSetOption() returning TRUE  
00000057  3.69498610  [2480] 15:47:30.437 ::*Session* :: WinHttpConnect(0x1af5000, "www.cryptopro.ru", 80, 0x0)   
00000058  3.69642472  [2480] 15:47:30.437 ::*Session* :: WinHttpConnect() returning handle 0x1af5100  
00000059  3.69728827  [2480] 15:47:30.437 ::*Session* :: WinHttpOpenRequest(0x1af5100, "POST", "tsp/tsp.srf", "", "", 0x0, 0x00000000)  
00000060  3.70235968  [2480] 15:47:30.452 ::*Session* :: WinHttpCreateUrlA(0x12e3e0, 0x0, 0xd8f0000, 0x12e41c)  
00000061  3.70256639  [2480] 15:47:30.452 ::*Session* :: WinHttpCreateUrlA() returning TRUE   
00000062  3.70979691  [2480] 15:47:30.452 ::*0000001* :: WinHttpOpenRequest() returning handle 0xd8e0000  
00000063  3.71027875  [2480] 15:47:30.452 ::*0000001* :: WinHttpSetOption(0xd8e0000,  (77), 0x12e604 [0x2], 4)  
00000064  3.71041942  [2480] 15:47:30.452 ::*0000001* :: WinHttpSetOption() returning TRUE  
00000065  3.71070600  [2480] 15:47:30.452 ::*0000001* :: WinHttpSendRequest(0xd8e0000, "Content-type: application/timestamp-query", -1, 0xd364a70, 64, 64, 0)   
00000066  3.71098781  [2480] 15:47:30.452 ::*0000001* :: WinHttpCreateUrlA(0x12e378, 0x0, 0xd8f0000, 0x12e35c)  
00000067  3.71116209  [2480] 15:47:30.452 ::*0000001* :: WinHttpCreateUrlA() returning TRUE   
00000068  3.71130633  [2480] 15:47:30.452 ::*0000001* :: Using proxy server: proxy.bftcom.com:8080  
00000069  3.79459143  [2480] 15:47:30.530 ::*0000001* :: "proxy.bftcom.com" resolved  
00000070  3.82271862  [2480] 15:47:30.562 ::*0000001* :: sending data:  
00000071  3.82323265  [2480] 15:47:30.562 ::*0000001* :: 269 (0x10d) bytes  
00000072  3.82359791  [2480] 15:47:30.562 ::*0000001* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>   
00000073  3.82374668  [2480] 15:47:30.562 ::*0000001* ::  
00000074  3.82387280  [2480] POST http://www.cryptopro.ru/tsp/tsp.srf HTTP/1.1  
00000075  3.82387280  [2480] 15:47:30.562 ::*0000001* :: Content-type: application/timestamp-query  
00000076  3.82387280  [2480] 15:47:30.562 ::*0000001* :: User-Agent: Crypto-Pro tspcli.dll  
00000077  3.82387280  [2480] 15:47:30.562 ::*0000001* ::  
00000078  3.82405782  [2480] Host: www.cryptopro.ru   
00000079  3.82405782  [2480] 15:47:30.562 ::*0000001* :: Content-Length: 64   
00000080  3.82405782  [2480] 15:47:30.562 ::*0000001* ::  
00000081  3.82415390  [2480] Proxy-Connection: Keep-Alive 
00000082  3.82433105  [2480]    
00000083  3.82496452  [2480] 15:47:30.562 ::*0000001* :: <<<<-------- End ----------------------------------------------->>>>   
00000084  3.82513285  [2480] 15:47:30.562 ::*0000001* :: WinHttpSendRequest() returning TRUE  
00000085  3.82515788  [2480] 15:47:30.562 ::*0000001* :: WinHttpReceiveResponse(0xd8e0000, 0x0)   
00000086  3.83034658  [2480] 15:47:30.577 ::*0000001* :: received data:   
00000087  3.83054662  [2480] 15:47:30.577 ::*0000001* :: 1024 (0x400) bytes   
00000088  3.83074069  [2480] 15:47:30.577 ::*0000001* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>   
00000089  3.83102345  [2480] 15:47:30.577 ::*0000001* ::  
00000090  3.83124375  [2480] HTTP/1.0 407 Proxy Authentication Required   
00000091  3.83124375  [2480] 15:47:30.577 ::*0000001* :: Server: squid/2.6.STABLE19   
00000092  3.83124375  [2480] 15:47:30.577 ::*0000001* :: Date: Wed, 27 May 2009 11:49:39 GMT  
00000093  3.83124375  [2480] 15:47:30.577 ::*0000001* :: Content-Type: text/html  
00000094  3.83124375  [2480] 15:47:30.577 ::*0000001* ::  
00000095  3.83156323  [2480] Content-Length: 1342   
00000096  3.83156323  [2480] 15:47:30.577 ::*0000001* :: Expires: Wed, 27 May 2009 11:49:39 GMT   
00000097  3.83156323  [2480] 15:47:30.577 ::*0000001* :: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0   
00000098  3.83156323  [2480] 15:47:30.577 ::*0000001* :: Proxy-Authenticate: Basic realm  
00000099  3.83186746  [2480] ="Squid proxy-caching web server"  
00000100  3.83186746  [2480] 15:47:30.577 ::*0000001* :: X-Cache: MISS from igwbft2.bftcom.com  
00000101  3.83186746  [2480] 15:47:30.577 ::*0000001* :: X-Cache-Lookup: NONE from igwbft2.bftcom.com:8080  
00000102  3.83186746  [2480] 15:47:30.577 ::*0000001* ::  
00000103  3.83212709  [2480] Via: 1.0 igwbft2.bftcom.com:8080 (squid/2.6.STABLE19)  
00000104  3.83212709  [2480] 15:47:30.577 ::*0000001* ::  
00000105  3.83240318  [2480] Proxy-Connection: close  
00000106  3.83261633  [2480]    
00000107  3.83312988  [2480] 15:47:30.577 ::*0000001* :: <<<<-------- End ----------------------------------------------->>>>   
00000108  3.83343601  [2480] 15:47:30.577 ::*0000001* :: WinHttpReceiveResponse() returning TRUE  
00000109  3.83366132  [2480] 15:47:30.577 ::*0000001* :: WinHttpQueryHeaders(0xd8e0000,  (0x20000013), "null", 0xd5d3e24, 0x12e608 [4], 0x0 [0])  
00000110  3.83398438  [2480] 15:47:30.577 ::*0000001* :: WinHttpQueryHeaders() returning TRUE   
00000111  3.83400154  [2480] 15:47:30.577 ::*0000001* :: WinHttpQueryAuthSchemes(0xd8e0000, 0x12e600, 0x12e624)   
00000112  3.83427930  [2480] 15:47:30.577 ::*0000001* :: WinHttpQueryAuthSchemes() returning TRUE   
00000113  3.83440709  [2480] 15:47:30.577 ::*0000001* :: WinHttpQueryAuthSchemes(0xd8e0000, 0x12e600, 0x12e624)   
00000114  3.83454919  [2480] 15:47:30.577 ::*0000001* :: WinHttpQueryAuthSchemes() returning TRUE   
00000115  3.84825778  [2480] 15:47:30.577 ::*0000001* :: WinHttpCloseHandle(0xd8e0000)  
00000116  3.84969091  [2480] 15:47:30.593 ::*0000001* :: WinHttpCloseHandle() returning TRUE  
00000117  3.84994078  [2480] 15:47:30.593 ::*Session* :: WinHttpCloseHandle(0x1af5100)  
00000118  3.85008597  [2480] 15:47:30.593 ::*Session* :: WinHttpCloseHandle() returning TRUE  
00000119  3.85023618  [2480] tspcli.dll: {2528} /CryptoPro::PKI::TSP::Client::CRequest::Send/ TSPRequest.cpp(159) : HTTP STATUS: 407  
00000120  3.86521935  [2480] 15:47:30.609 ::*Session* :: WinHttpCloseHandle(0x1af5000)  
00000121  3.86550307  [2480] 15:47:30.609 ::*Session* :: WinHttpCloseHandle() returning TRUE  
00000122  3.86565256  [2480] cades.dll: {2528} /CadesMsgEnhanceSignature/ cades.cpp(1238) : CAtlException, m_hr=0xc2100100  
00000123  3.86579895  [2480] cades.dll: {2528} /CadesMsgEnhanceSignature/ cades.cpp(1248) : (res=0, GetLastError=0xc2100100 
00000124  3.86594653  [2480] cades.dll: {2528} /CadesSignMessageImpl/ cades.cpp(2046) : Expression FAILED: ::CadesMsgEnhanceSignature(msgDecode.GetHandle(), 0, &cadesSignPara) 
00000125  3.86679363  [2480] cades.dll: {2528} /CadesSignMessageImpl/ cades.cpp(2046) : Last win32 error thrown as exception  
00000126  3.86697173  [2480] cades.dll: {2528} /CadesSignMessage/ cades.cpp(2086) : CAtlException, m_hr=0xc2100100  
00000127  3.86836100  [2480] cades.dll: {2528} /CadesSignMessage/ cades.cpp(2096) : (res=0, GetLastError=0xc2100100 
00000128  10.59406567 [2480] cades.dll: {1000} /DllMain/ cades.cpp(3792) : hInstance=6E000000, dwReason=2 lpReserved=0  
00000129  33.41555786 [2480] cades.dll: {4088} /DllMain/ cades.cpp(3792) : hInstance=6E000000, dwReason=3 lpReserved=0  




Вот лог со старой СДК (подписывает):
[code]00000000 0.00000000 [3448] cades.dll: {3440} /CadesSignMessage/ cades.cpp(3403) : (pSignPara=0x0012F860, fDetachedSignature=-1, cToBeSigned=1, rgpbToBeSigned=0x0012F8E0, rgcbToBeSigned=0x0012F8D4, ppSignedBlob=0x0012F8D0)
00000001 0.03330535 [3448] cades.dll: {3440} /CadesSignMessageImpl/ cades.cpp(3251) : Signer updating start
00000002 0.03464518 [3448] cades.dll: {3440} /CadesSignMessageImpl/ cades.cpp(3254) : Hash algorithm deduced
00000003 0.03485918 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::AttributeExists/ cades.cpp(137) : (pAttr=0)
00000004 0.03500948 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(320) : Signer does not have signinCert or otherSigningCert attribute
00000005 0.03679797 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(323) : Attributes copied
00000006 0.03699465 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(326) : otherSigningCert attribute assembled
00000007 0.03719914 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::UpdateSignedAttributes/ cades.cpp(329) : Signer is updated successfully
00000008 0.03734748 [3448] cades.dll: {3440} /CadesMsgOpenToEncode/ cades.cpp(432) : (dwMsgEncodingType=0x00010001, dwFlags=0x00000004, pvMsgEncodeInfo=0x0012F250, pszInnerContentObjID=0, pStreamInfo=0x00000000)
00000009 0.03748745 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(381) : Start
00000010 0.03757852 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(386) : Input parameters checked
00000011 0.03778721 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(394) : Copy of input structures is ready
00000012 0.03792214 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(400) : Signers updating start
00000013 0.04763622 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(404) : Signer #0
00000014 7.79225731 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::CheckAlgorithms/ cades.cpp(348) : Public key info is exported successfully
00000015 7.79254198 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::CheckAlgorithms/ cades.cpp(356) : Signature algoritm OID info is found: 1.2.643.2.2.3
00000016 7.79311991 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(411) : Certificates equality checked
00000017 7.79330683 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::DeduceHashAlgorithm/ cades.cpp(117) : (szHashAlgorithm=1.2.643.2.2.9)
00000018 7.79348755 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(413) : Hash algorithm deduced
00000019 7.79364872 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImplNamespace::AttributeExists/ cades.cpp(132) : (pAttr->pszObjId=1.2.840.113549.1.9.16.2.19)
00000020 7.79379463 [3448] cades.dll: {3440} /CadesMsgOpenToEncodeImpl/ cades.cpp(420) : Calling CryptMsgOpenToEncode()
00000021 7.79412746 [3448] cades.dll: {3440} /CadesMsgOpenToEncode/ cades.cpp(454) : (hMsg=0x05FAE6F8, GetLastError=0x00000000
00000022 7.79642057 [3448] cades.dll: {3440} /CadesMsgEnhanceSignature/ cades.cpp(1510) : (hCryptMsg=0x05FAE6F8, dwSignatureIndex=0, pCadesSignPara=0x00000000)
00000023 7.79668903 [3448] cades.dll: {3440} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1422) : Input parameters checked
00000024 7.79758835 [3448] cades.dll: {3440} /CadesMsgEnhanceSignatureImplNamespace::ExtractSignedAttributes/ cades.cpp(475) : Signed attributes extracted via CMSG_SIGNER_AUTH_ATTR_PARAM
00000025 7.80176687 [3448] cades.dll: {3440} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1426) : Signer certificate ID found
00000026 7.80532885 [3448] cades.dll: {3440} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1435) : pSignerCert=0x025E5530
00000027 7.80587196 [3448] cades.dll: {3440} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1447) : Hash algorithm deduced
00000028 7.80721807 [3448] cades.dll: {3440} /CadesMsgEnhanceSignatureImplNamespace::ExtractSignature/ cades.cpp(659) : Signature extracted via CMSG_ENCRYPTED_DIGEST
00000029 7.81283379 [3448] tspcli.dll: {3440} /CryptoPro::PKI::TSP::Client::CRequest::Impl::CheckPolicies/ TSPRequest_Impl.cpp(199) : Checking policies...
00000030 7.81307697 [3448] tspcli.dll: {3440} /CryptoPro::PKI::TSP::Client::CRequest::Impl::CheckPolicies/ TSPRequest_Impl.cpp(285) : Checking policies... OK.
00000031 7.81323624 [3448] tspcli.dll: {3440} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(158) : Making request...
00000032 7.81365061 [3448] tspcli.dll: {3440} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(175) : Initializing request...
00000033 7.81414413 [3448] tspcli.dll: {3440} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(189) : Encoding request...
00000034 7.81563044 [3448] tspcli.dll: {3440} /CryptoPro::PKI::TSP::Client::CRequest::Impl::MakeRequest/ TSPRequest_Impl.cpp(193) : Making request... OK.
00000035 7.81583309 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrl("http://www.cryptopro.ru/tsp/tsp.srf", 0x0, 0x0, 0x12e820)
00000036 7.81599569 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrlA("http://www.cryptopro.ru/tsp/tsp.srf", 0x23, 0x0, 0x12e6d0)
00000037 7.81613541 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrlA() returning TRUE
00000038 7.81636763 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrl() returning TRUE
00000039 7.81688166 [3448] 15:43:21.796 ::*Session* :: WinHttpOpen("Crypto-Pro tspcli.dll", (1), "", "", 0x0)
00000040 7.81712961 [3448] 15:43:21.796 ::*Session* :: WinHttpOpen() returning handle 0x1af5000
00000041 7.81737471 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrl("http://user:pass@proxy.bftcom.com:8080", 0x0, 0x0, 0x12e85c)
00000042 7.81751966 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrlA("http://user:pass@proxy.bftcom.com:8080", 0x31, 0x0, 0x12e6d0)
00000043 7.81765747 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrlA() returning TRUE
00000044 7.81783295 [3448] 15:43:21.796 ::*Session* :: WinHttpCrackUrl() returning TRUE
00000045 7.81804657 [3448] 15:43:21.796 ::*Session* :: WinHttpSetOption(0x1af5000, (38), 0x12e804 [0x3], 12)
00000046 7.81820488 [3448] 15:43:21.796 ::*Session* :: WinHttpSetOption() returning TRUE
00000047 7.81841946 [3448] 15:43:21.796 ::*Session* :: WinHttpConnect(0x1af5000, "www.cryptopro.ru", 80, 0x0)
00000048 7.81856108 [3448] 15:43:21.796 ::*Session* :: WinHttpConnect() returning handle 0x1af5100
00000049 7.81876707 [3448] 15:43:21.796 ::*Session* :: WinHttpOpenRequest(0x1af5100, "POST", "tsp/tsp.srf", "", "", 0x0, 0x00000000)
00000050 7.81892204 [3448] 15:43:21.796 ::*Session* :: WinHttpCreateUrlA(0x12e5b0, 0x0, 0xd9b0000, 0x12e5ec)
00000051 7.81908321 [3448] 15:43:21.796 ::*Session* :: WinHttpCreateUrlA() returning TRUE
00000052 7.81932783 [3448] 15:43:21.796 ::*0000005* :: WinHttpOpenRequest() returning handle 0xd9a0000
00000053 7.81947851 [3448] 15:43:21.796 ::*0000005* :: WinHttpSetOption(0xd9a0000, (77), 0x12e7d8 [0x2], 4)
00000054 7.81961966 [3448] 15:43:21.796 ::*0000005* :: WinHttpSetOption() returning TRUE
00000055 7.81984091 [3448] 15:43:21.796 ::*0000005* :: WinHttpSendRequest(0xd9a0000, "Content-type: application/timestamp-query", -1, 0xce67080, 64, 64, 0)
00000056 7.81997633 [3448] 15:43:21.796 ::*0000005* :: WinHttpCreateUrlA(0x12e548, 0x0, 0xd9b0000, 0x12e52c)
00000057 7.82011461 [3448] 15:43:21.796 ::*0000005* :: WinHttpCreateUrlA() returning TRUE
00000058 7.82093716 [3448] 15:43:21.796 ::*0000005* :: Using proxy server: proxy.bftcom.com:8080
00000059 8.01860332 [3448] 15:43:21.999 ::*0000005* :: "proxy.bftcom.com" resolved
00000060 8.03007984 [3448] 15:43:22.015 ::*0000005* :: sending data:
00000061 8.03036785 [3448] 15:43:22.015 ::*0000005* :: 269 (0x10d) bytes
00000062 8.03096390 [3448] 15:43:22.015 ::*0000005* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>
00000063 8.03110218 [3448] 15:43:22.015 ::*0000005* ::
00000064 8.03129101 [3448] POST http://www.cryptopro.ru/tsp/tsp.srf HTTP/1.1
00000065 8.03129101 [3448] 15:43:22.015 ::*0000005* :: Content-type: application/timestamp-query
00000066 8.03129101 [3448] 15:43:22.015 ::*0000005* :: User-Agent: Crypto-Pro tspcli.dll
00000067 8.03129101 [3448] 15:43:22.015 ::*0000005* ::
00000068 8.03145695 [3448] Host: www.cryptopro.ru
00000069 8.03145695 [3448] 15:43:22.015 ::*0000005* :: Content-Length: 64
00000070 8.03145695 [3448] 15:43:22.015 ::*0000005* ::
00000071 8.03160191 [3448] Proxy-Connection: Keep-Alive
00000072 8.03175640 [3448]
00000073 8.03236294 [3448] 15:43:22.015 ::*0000005* :: <<<<-------- End ----------------------------------------------->>>>
00000074 8.03253365 [3448] 15:43:22.015 ::*0000005* :: WinHttpSendRequest() returning TRUE
00000075 8.03270817 [3448] 15:43:22.015 ::*0000005* :: WinHttpReceiveResponse(0xd9a0000, 0x0)
00000076 8.03344536 [3448] 15:43:22.015 ::*0000005* :: received data:
00000077 8.03359699 [3448] 15:43:22.015 ::*0000005* :: 1024 (0x400) bytes
00000078 8.03374672 [3448] 15:43:22.015 ::*0000005* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>
00000079 8.03387833 [3448] 15:43:22.015 ::*0000005* ::
00000080 8.03397083 [3448] HTTP/1.0 407 Proxy Authentication Required
00000081 8.03397083 [3448] 15:43:22.015 ::*0000005* :: Server: squid/2.6.STABLE19
00000082 8.03397083 [3448] 15:43:22.015 ::*0000005* :: Date: Wed, 27 May 2009 11:45:30 GMT
00000083 8.03397083 [3448] 15:43:22.015 ::*0000005* :: Content-Type: text/html
00000084 8.03397083 [3448] 15:43:22.015 ::*0000005* ::
00000085 8.03431702 [3448] Content-Length: 1342
00000086 8.03431702 [3448] 15:43:22.015 ::*0000005* :: Expires: Wed, 27 May 2009 11:45:30 GMT
00000087 8.03431702 [3448] 15:43:22.015 ::*0000005* :: X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0
00000088 8.03431702 [3448] 15:43:22.015 ::*0000005* :: Proxy-Authenticate: Basic realm
00000089 8.03455639 [3448] ="Squid proxy-caching web server"
00000090 8.03455639 [3448] 15:43:22.015 ::*0000005* :: X-Cache: MISS from igwbft2.bftcom.com
00000091 8.03455639 [3448] 15:43:22.015 ::*0000005* :: X-Cache-Lookup: NONE from igwbft2.bftcom.com:8080
00000092 8.03455639 [3448] 15:43:22.015 ::*0000005* ::
00000093 8.03474522 [3448] Via: 1.0 igwbft2.bftcom.com:8080 (squid/2.6.STABLE19)
00000094 8.03474522 [3448] 15:43:22.015 ::*0000005* ::
00000095 8.03488064 [3448] Proxy-Connection: close
00000096 8.03500652 [3448]
00000097 8.03524399 [3448] 15:43:22.015 ::*0000005* :: <<<<-------- End ----------------------------------------------->>>>
00000098 8.03528500 [3448] 15:43:22.015 ::*0000005* :: WinHttpReceiveResponse() returning TRUE
00000099 8.03575230 [3448] 15:43:22.015 ::*0000005* :: WinHttpQueryHeaders(0xd9a0000, (0x20000013), "null", 0xd4a091c, 0x12e7dc [4], 0x0 [0])
00000100 8.03582478 [3448] 15:43:22.015 ::*0000005* :: WinHttpQueryHeaders() returning TRUE
00000101 8.03596020 [3448] 15:43:22.015 ::*0000005* :: WinHttpQueryAuthSchemes(0xd9a0000, 0x12e7d0, 0x12e7f4)
00000102 8.03608513 [3448] 15:43:22.015 ::*0000005* :: WinHttpQueryAuthSchemes() returning TRUE
00000103 8.03622055 [3448] 15:43:22.015 ::*0000005* :: WinHttpQueryAuthSchemes(0xd9a0000, 0x12e7d0, 0x12e7f4)
00000104 8.03641510 [3448] 15:43:22.015 ::*0000005* :: WinHttpQueryAuthSchemes() returning TRUE
00000105 8.03654385 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentials(0xd9a0000, 0x1, 0x1, "", "username", "password")
00000106 8.03680897 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentialsA(0xd9a0000, 0x1, 0x1, "", "username", "password")
00000107 8.03694248 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentialsA() returning TRUE
00000108 8.03707695 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentials() returning TRUE
00000109 8.03717136 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentials(0xd9a0000, 0x1, 0x1, "", "username", "password")
00000110 8.03741074 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentialsA(0xd9a0000, 0x1, 0x1, "", "username", "password")
00000111 8.03755665 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentialsA() returning TRUE
00000112 8.03769112 [3448] 15:43:22.015 ::*0000005* :: WinHttpSetCredentials() returning TRUE
00000113 8.03867340 [3448] 15:43:22.015 ::*0000005* :: WinHttpSendRequest(0xd9a0000, "Content-type: application/timestamp-query", -1, 0xce67080, 64, 64, 0)
00000114 8.03884411 [3448] 15:43:22.015 ::*0000005* :: WinHttpCreateUrlA(0x12e548, 0x0, 0xd9b0000, 0x12e52c)
00000115 8.03911018 [3448] 15:43:22.015 ::*0000005* :: WinHttpCreateUrlA() returning TRUE
00000116 8.04337120 [3448] 15:43:22.015 ::*0000005* :: Using proxy server: proxy.bftcom.com:8080
00000117 8.05336761 [3448] 15:43:22.030 ::*0000005* :: sending data:
00000118 8.05357170 [3448] 15:43:22.030 ::*0000005* :: 326 (0x146) bytes
00000119 8.05371666 [3448] 15:43:22.030 ::*0000005* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>
00000120 8.05385017 [3448] 15:43:22.030 ::*0000005* ::
00000121 8.05397701 [3448] POST http://www.cryptopro.ru/tsp/tsp.srf HTTP/1.1
00000122 8.05397701 [3448] 15:43:22.030 ::*0000005* :: Content-Length: 64
00000123 8.05397701 [3448] 15:43:22.030 ::*0000005* :: User-Agent: Crypto-Pro tspcli.dll
00000124 8.05397701 [3448] 15:43:22.030 ::*0000005* :: Host: www.cryptopro.ru
00000125 8.05397701 [3448] 15:43:22.030 ::*0000005* ::
00000126 8.05416965 [3448] Proxy-Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXX=
00000127 8.05416965 [3448] 15:43:22.030 ::*0000005* :: Proxy-Connection: Keep-Alive
00000128 8.05416965 [3448] 15:43:22.030 ::*0000005* ::
00000129 8.05431843 [3448] Content-Type: application/timestamp-query
00000130 8.05444622 [3448]
00000131 8.05485249 [3448] 15:43:22.030 ::*0000005* :: <<<<-------- End ----------------------------------------------->>>>
00000132 8.05502605 [3448] 15:43:22.030 ::*0000005* :: WinHttpSendRequest() returning TRUE
00000133 8.05516434 [3448] 15:43:22.030 ::*0000005* :: WinHttpReceiveResponse(0xd9a0000, 0x0)
00000134 8.10873318 [3448] 15:43:22.093 ::*0000005* :: received data:
00000135 8.10892582 [3448] 15:43:22.093 ::*0000005* :: 381 (0x17d) bytes
00000136 8.10905933 [3448] 15:43:22.093 ::*0000005* :: <<<<-------- HTTP headers follow below ----------------------------------------------->>>>
00000137 8.10913086 [3448] 15:43:22.093 ::*0000005* ::
00000138 8.10926437 [3448] HTTP/1.0 200 OK
00000139 8.10926437 [3448] 15:43:22.093 ::*0000005* :: Content-Length: 1312
00000140 8.10926437 [3448] 15:43:22.093 ::*0000005* :: Date: Wed, 27 May 2009 11:46:56 GMT
00000141 8.10926437 [3448] 15:43:22.093 ::*0000005* :: Content-Type: application/timestamp-reply
00000142 8.10926437 [3448] 15:43:22.093 ::*0000005* ::
00000143 8.10944653 [3448] Server: Microsoft-IIS/6.0
00000144 8.10944653 [3448] 15:43:22.093 ::*0000005* :: X-Powered-By: ASP.NET
00000145 8.10944653 [3448] 15:43:22.093 ::*0000005* :: MicrosoftOfficeWebServer: 5.0_Pub
00000146 8.10944653 [3448] 15:43:22.093 ::*0000005* :: X-Cache: MISS from igwbft2.bftcom.com
00000147 8.10944653 [3448] 15:43:22.093 ::*0000005* ::
00000148 8.10968590 [3448] X-Cache-Lookup: MISS from igwbft2.bftcom.com:8080
00000149 8.10968590 [3448] 15:43:22.093 ::*0000005* :: Via: 1.0 igwbft2.bftcom.com:8080 (squid/2.6.STABLE19)
00000150 8.10968590 [3448] 15:43:22.093 ::*0000005* ::
00000151 8.10984230 [3448] Proxy-Connection: keep-alive
00000152 8.10997009 [3448]
00000153 8.11015224 [3448] 15:43:22.093 ::*0000005* :: <<<<-------- End ----------------------------------------------->>>>
00000154 8.11028671 [3448] 15:43:22.093 ::*0000005* :: WinHttpReceiveResponse() returning TRUE
00000155 8.11047459 [3448] 15:43:22.093 ::*0000005* :: WinHttpQueryHeaders(0xd9a0000, (0x20000013), "null", 0xd4a091c, 0x12e7dc [4], 0x0 [0])
00000156 8.11064529 [3448] 15:43:22.093 ::*0000005* :: WinHttpQueryHeaders() returning TRUE
00000157 8.11080170 [3448] 15:43:22.093 ::*0000005* :: WinHttpQueryAuthSchemes(0xd9a0000, 0x12e7d0, 0x12e7f4)
00000158 8.11093235 [3448] 15:43:22.093 ::*0000005* :: WinHttpQueryAuthSchemes: error 4317 [0x10dd]
00000159 8.11112499 [3448] 15:43:22.093 ::*0000005* :: WinHttpQueryAuthSchemes() returning FALSE
00000160 8.11131954 [3448] 15:43:22.093 ::*0000005* :: WinHttpReadData(0xd9a0000, 0xd4cee68, 65536, 0x12e7dc)
00000161 8.12883568 [3448] 15:43:22.109 ::*0000005* :: WinHttpReadData() returning TRUE
00000162 8.12908077 [3448] 15:43:22.109 ::*0000005* :: WinHttpReadData(0xd9a0000, 0xd4cee68, 65536, 0x12e7dc)
00000163 8.12927532 [3448] 15:43:22.109 ::*0000005* :: WinHttpReadData() returning TRUE
00000164 8.12956715 [3448] 15:43:22.109 ::*0000005* :: WinHttpCloseHandle(0xd9a0000)
00000165 8.12981987 [3448] 15:43:22.109 ::*0000005* :: WinHttpCloseHandle() returning TRUE
00000166 8.13003826 [3448] 15:43:22.109 ::*Session* :: WinHttpCloseHandle(0x1af5100)
00000167 8.14719868 [3448] 15:43:22.109 ::*Session* :: WinHttpCloseHandle() returning TRUE
00000168 8.14872074 [3448] 15:43:22.124 ::*Session* :: WinHttpCloseHandle(0x1af5000)
00000169 8.14898682 [3448] 15:43:22.124 ::*Session* :: WinHttpCloseHandle() returning TRUE
00000170 8.14917755 [3448] cades.dll: {3440} /CadesMsgEnhanceSignatureImpl/ cades.cpp(1488) : signatureTimeStampToken recieved and added to signature
00000171 8.15276051 [3448] cades.dll: {3440}...
Offline Павел Смирнов  
#17 Оставлено : 27 мая 2009 г. 21:16:07(UTC)
Павел Смирнов

Статус: Вам и не снилось

Группы: Администраторы
Зарегистрирован: 24.12.2007(UTC)
Сообщений: 831
Откуда: Крипто-Про

Сказал(а) «Спасибо»: 1 раз
Поблагодарили: 48 раз в 44 постах
Да, проблема теперь видна.
А на каком номере версии работает? И что вы передаёте в CADES_PROXY_PARA?
Техническую поддержку оказываем тут.
Наша база знаний.
Offline Jesterson  
#18 Оставлено : 27 мая 2009 г. 21:26:41(UTC)
Jesterson

Статус: Активный участник

Группы: Участники
Зарегистрирован: 25.05.2009(UTC)
Сообщений: 30
Откуда: Moscow

Новая версия - 1.01.0360
Старая версия - 1.00.0234

CADES_PROXY_PARA не заполняем вообще, поскольку всё-таки считаем что библиотеки эти настройки при обращении к службам возьмут из групповых политик (:
Offline Павел Смирнов  
#19 Оставлено : 27 мая 2009 г. 21:28:26(UTC)
Павел Смирнов

Статус: Вам и не снилось

Группы: Администраторы
Зарегистрирован: 24.12.2007(UTC)
Сообщений: 831
Откуда: Крипто-Про

Сказал(а) «Спасибо»: 1 раз
Поблагодарили: 48 раз в 44 постах
Не заполняете или вообще не подаёте? В CADES_SIGN_PARA член pProxyPara нулевой?
Техническую поддержку оказываем тут.
Наша база знаний.
Offline Jesterson  
#20 Оставлено : 27 мая 2009 г. 22:17:38(UTC)
Jesterson

Статус: Активный участник

Группы: Участники
Зарегистрирован: 25.05.2009(UTC)
Сообщений: 30
Откуда: Moscow

Смирнов написал:
Не заполняете или вообще не подаёте? В CADES_SIGN_PARA член pProxyPara нулевой?


Код:
cadesSignPara.pProxyPara := nil;


Попробую его заполнить. Я так понимаю, что значение этого параметра перекрывает то, что прописано в политиках?

Отредактировано пользователем 27 мая 2009 г. 22:26:28(UTC)  | Причина: Не указана

RSS Лента  Atom Лента
Пользователи, просматривающие эту тему
Guest (3)
4 Страницы<1234>
Быстрый переход  
Вы не можете создавать новые темы в этом форуме.
Вы не можете отвечать в этом форуме.
Вы не можете удалять Ваши сообщения в этом форуме.
Вы не можете редактировать Ваши сообщения в этом форуме.
Вы не можете создавать опросы в этом форуме.
Вы не можете голосовать в этом форуме.