[twsocket] ICS V7 and TLS support

2010-10-15 Thread Kurt Andersen
I have been looking into ICS V7 for use with TLS, but I have a few questions that need answering. 1. First off, does ICS V7 support the newest TLS version 1.2 ? 2. On the ICS website it says the OpenSSL 0.9.8e or 0.9.8h are required for ICS-SSL. In what manner are they required by ICS-SS

Re: [twsocket] SSL OnSslVerifyPeer vs. OnSslHandshakeDone event

2010-09-09 Thread Kurt Andersen
Arno Once again thanks for the help. I will only implement the OnHandshakeDone event then. I have one final question though. When using the TSslWSocket in both client and server application, will the Root cert always be sent before the Certificate e.g. two handshake done events with root cert f

[twsocket] SSL OnSslVerifyPeer vs. OnSslHandshakeDone event

2010-09-08 Thread Kurt Andersen
Hi Being a newbie on the SSL front I am a bit confused about the events "OnSslVerifyPeer" and "OnSslHandshakeDone" of the TSslWSocket. Arno helped me out in a previous post and explained the "SslVerifyPeer" event as: "The purpose of SslVerifyPeer is to check for a complete, valid a

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-03 Thread Kurt Andersen
Arno, I have enabled all ICSlogger options except DestFile because I had problems with multiple threads accessing the same logfile, So I implemented my logging using the ICSlogger event and synchronized the log text onto the mainthread for fileaccess. The eventlog does not show any trace of "E

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-02 Thread Kurt Andersen
Garrels Sendt: 1. september 2010 14:51 Til: ICS support mailing Emne: Re: [twsocket] TSslWSocket in a non-blocking multithreaded server Kurt Andersen wrote: > On a side note, I have been hammering away on my Server app using a > (homemade) multithreaded SSL client, and sometimes > I ge

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Kurt Andersen
ce code example of that (C++) at, http://www.fastream.com/webstresstester.php HTH, SZ On Wed, Sep 1, 2010 at 12:30 PM, Arno Garrels wrote: > Kurt Andersen wrote: > > > I have now implemented a working multithreaded test (server) > > application which uses both the TWSocket and

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Kurt Andersen
delig meddelelse- Fra: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] På vegne af Arno Garrels Sendt: 1. september 2010 11:31 Til: ICS support mailing Emne: Re: [twsocket] TSslWSocket in a non-blocking multithreaded server Kurt Andersen wrote: > I have now implemented a

Re: [twsocket] TSslWSocket in a non-blocking multithreaded server

2010-09-01 Thread Kurt Andersen
Hi Arno Once again many thanks for the quick reply. I have now implemented a working multithreaded test (server) application which uses both the TWSocket and the TSslWSocket in a non-blocking manner. The "regular" WSocket is used to accept incoming sessions, which are then carried on in a new c

[twsocket] TSslWSocket in a non-blocking multithreaded server

2010-08-30 Thread Kurt Andersen
Hi We have been using the TWSocket component in several non-blockling multithreaded applications, but now we would like to use the TSslWSocket in a similar manner. Using the TWSocket we usually in the mainthread have: ... TWSocket* ServerWSocket ... ... MainThread::ServerWSock

Re: [twsocket] SSL OnHandshakeDone ceritificate contains empty members

2010-08-26 Thread Kurt Andersen
Hi Arno Thank you for the input, this seems to work. Using the ICS ditro supplied certificates, I am getting the following debug print when applying your sample code in the Clients OnSslVerifyPeer event: Checking certificate Subject: /CN=Example CA/ST=Liege/C=BE/emailaddress...@overbyte.be/O=

Re: [twsocket] SSL OnHandshakeDone ceritificate contains empty members

2010-08-25 Thread Kurt Andersen
Hi Arno Thanks for the quick reply. Setting the Clients SslContext obj property SslVerifyPeer = true yields an errCode = 1 in the Clients HandshakeDone event (not a winsock error) I tried setting up the clients SslContext::SslPrivKeyFile to the "C:\ ... \ClientKey.pem" file created by the IcsSs

[twsocket] SSL OnHandshakeDone ceritificate contains empty members

2010-08-24 Thread Kurt Andersen
, so any help woul be greatly appreciated. My prerequisites are: - Codegear C++ Builder 2007 R2 Version 11.0.2902.10471 -OpenSSL v0.9.8e -ICS-V7 Distribution (Sep 12, 2009) Best regards Kurt Andersen Denmark -- To unsubscribe or change your settings for TWSocket mailing list please