PnP PKI / CMP Server Timeout problem
TM <[email protected]> Wed, 29 Oct 2014 02:15:34 +0100
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
Hello. I am experiencing difficult problem. I continue with project from previous post. I have to apps one database client with cmp client module and second CMP server. I am using Selfsigned CA root cert created as in previous post. Client and server are coded in Delphi XE2. After cryptSetAttribute(CmpSession, CRYPT_SESSINFO_ACTIVE, TRUE); Client connects to server, waits time equal to CRYPT_OPTION_NET_READTIMEOUT and ends with errors: Timeout on read (select()) after 15 seconds or longer (CRYPT_OPTION_NET_READTIMEOUT), I have tried up to 300 Error -25 Operation timeout before completion Locus: 0, Type:0. Output from MVS 2013 set to follow server + cl32.dll *************************** * Beginning cryptlib init * *************************** d:\wymiana\projects\cryptlib\cryptlib.c:initCryptlib:337: Kernel init failed. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\OdbcFb.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\comdlg32.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\odbccp32.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\GDS32.DLL'. Cannot find or open the PDB file. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mpr.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none_d089f796442de10e\msvcr80.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Wldap32.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\secur32.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\credssp.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msv1_0.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptdll.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\setupapi.dll' 'CertServerProject1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\devobj.dll' 'CertServerProject1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\cfgmgr32.dll' 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winnsi.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc6.dll'. Symbols loaded. The thread 0x4374 has exited with code 0 (0x0). 'CertServerProject1.exe' (Win32): Loaded 'C:\Program Files (x86)\Avira\AntiVir Desktop\avsda.dll'. Cannot find or open the PDB file. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wship6.dll'. Symbols loaded. 'CertServerProject1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WSHTCPIP.DLL'. Symbols loaded. The thread 0x43d8 has exited with code 0 (0x0). The thread 0x22cc has exited with code 0 (0x0). The thread 0x4264 has exited with code 0 (0x0). SVR: Reading message type 26. SVR: Read new userID. SVR 9 16EE04FB CE 65 6B 93 38 03 C0 EE E0 .ek.8.... SVR: Read initial transID. SVR 16 38180725 95 36 9C 03 46 AD B0 53 19 39 78 BB 5D EF 5B 98 .6..F..S.9x.].[. SVR: Read initial MAC params with salt, 500 iterations. SVR 16 3EC30782 9B 0A BC 61 04 58 D6 CA EC 21 41 E2 33 68 97 61 ...a.X...!A.3h.a SVR: Writing message body type 4. SVR: Writing MAC params with salt, 500 iterations. SVR 16 3EC30782 9B 0A BC 61 04 58 D6 CA EC 21 41 E2 33 68 97 61 ...a.X...!A.3h.a SVR: Writing MAC params with salt, 500 iterations. SVR 16 3EC30782 9B 0A BC 61 04 58 D6 CA EC 21 41 E2 33 68 97 61 ...a.X...!A.3h.a The thread 0x3978 has exited with code 0 (0x0). The thread 0x1104 has exited with code 0 (0x0). The thread 0x2e0c has exited with code 0 (0x0). The thread 0x3634 has exited with code 0 (0x0). The program '[16692] CertServerProject1.exe' has exited with code 0 (0x0). Have you any tips? I shall include more code tomorrow. Regards Tomasz Markiewicz _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.