Hello,

with the SslHttpClient we build a little Client with the example-unit 
OverbyteIcsHttpsTst1.

We compile under XE2 with ICS V8.16 (W2008 R2), ICS V8.18 (W2008 R2) and Delphi 
10 (Windows Server 2012R2) with V8.18 Seattle.
The web-service did not answers correct;
when we compile under Delphi 5 with ICS V5 (W2K), then it works very fine (the 
D5 exe-file works also on the W2008 R2 very fine).

We take respectively the corresponding libeay32.dll and ssleay32.

I think, that there is a difference between ICS V8.16 and higher and ICS V5, 
which will be send to the web-service;
but I can not discover the difference.

--------------------

ICS V8.16 and higher:

16:25:45:393 002CE320 ICB> SSL_connect: SSLv3 read finished A
16:25:45:394 002CE320 ICB> SSL_CB_HANDSHAKE_DONE, Error unable to get local 
issuer certificate
16:25:45:396 002CE320 BIO_read(sslbio, 0x18FC9F, 0) = -1   [519]
16:25:45:397 002CE320 BIO_should_retry(sslbio) = 1   [520]
16:25:45:399 002CE320 BIO_ctrl_pending(sslbio) = 0   [521]
16:25:45:400 002CE320 TriggerEvents 628 SslState: SSL_ST_OK  // MayFD_Read=0 
MayDoRecv=-1 MayFD_Write=-1 MaySslTryToSend=-1 bSslAllSent=0 bAllSent=-1
16:25:45:402 002CE320 SslHandshakeDone(0) 628. Secure connection with TLSv1.2, 
cipher ECDHE-RSA-AES256-GCM-SHA384, 256 secret bits (256 total), session 
reused=False
Handshake done, error #0 - SSL Connected OK with TLSv1.2, cipher 
ECDHE-RSA-AES256-GCM-SHA384, key exchange ECDH, encryption AESGCM(256), message 
authentication AEAD
16:25:45:405 002CE320 CliNewSession [00859488] Reused: False

16:25:45:511 Data available. Len=174
HTTP/1.0 500 Internal Server Error
Date: Wed, 20 Jan 2016 15:25:45 GMT
Server: Apache
Content-Length: 225
Connection: close
Content-Type: text/xml;charset=ISO-8859-1
16:25:45:521 End of header

--------------------
Delphi 5 with ICS V5 (W2K)

16:15:00:393 01F80410 TriggerEvents 516 SslState: SSL_ST_OK  // MayFD_Read=0 
MayDoRecv=1 MayFD_Write=1 MaySslTryToSend=1 bSslAllSent=0 bAllSent=1
16:15:00:394 01F80410 SslHandshakeDone(0) 516. Secure connection with TLSv1, 
cipher DHE-RSA-AES256-SHA, 256 secret bits (256 total), session reused=0
Handshake done, error #0
16:15:00:398 01F80410 CliNewSession [03F1C9A0] Reused: 0

16:15:01:194 01F80410 BIO_ctrl_pending(sslbio) = 0   [532]
16:15:01:195 01F80410 BIO_ctrl_get_write_guarantee(nbio) = 4096   [533]
16:15:01:196 Data available. Len=268
HTTP/1.0 200 OK
Date: Wed, 20 Jan 2016 15:15:01 GMT
Server: Apache
Connection: close
Content-Type: multipart/related; type="application/xop+xml"; 
boundary="uuid:5414af2f-3b9d-4ac3-bcda-7c19f40c9dbf"; 
start="<root.mess...@cxf.apache.org>"; start-info="text/xml"
16:15:01:204 End of header
16:15:01:206 State = httpWaitingBody

Can you help us? Thanks!


cu Harald
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to