[twsocket] SSL Certificates check

2011-05-09 Thread marius gabi
I have updated the SslHandshakeDone(Sender: TObject; ErrCode: Word; PeerCert: TX509Base; var Disconnect: Boolean); event as you mentioned and I used SslVerifyDepth = 15 and for I := 0 to TCustomSslWSocket(Sender).SslCertChain.Count -1 do TCustomSslWSocket(Sender).SslCertChain[I].SaveToPemFil

[twsocket] SSL Certificates check

2011-05-09 Thread marius gabi
Attached cert file-BEGIN CERTIFICATE- MIIKYjCCBkqgAwIBAgIJAMvPXQVBsjM2MA0GCSqGSIb3DQEBCwUAMIGKMQswCQYD VQQGEwJGUjEPMA0GA1UEBwwGUmVubmVzMREwDwYDVQQIDAhCcml0dGFueTEMMAoG A1UECgwDSUhFMQwwCgYDVQQLDANJSEUxFTATBgNVBAMMDFBvaXNlYXUgRXJpYzEk MCIGCSqGSIb3DQEJARYVZXJpYy5wb2lzZWF1QGlucmlhLmZyMB4XDTEwMD

Re: [twsocket] SSL Certificates check

2011-05-09 Thread Arno Garrels
marius gabi wrote: > I have updated the SslHandshakeDone(Sender: TObject; ErrCode: Word; > PeerCert: TX509Base; var Disconnect: Boolean); event as you mentioned > and I used SslVerifyDepth = 15 and > for I := 0 to TCustomSslWSocket(Sender).SslCertChain.Count -1 do > TCustomSslWSocket(Sender)

[twsocket] SSL Certificates check

2011-05-09 Thread marius gabi
Here are the files with OK := 1; cert0 = Greatest CA (same as server's great CA) cert1 = Intermediary CA (client's intermediary different from mine's server) cert2 = Client certificate-BEGIN CERTIFICATE- MIIKYjCCBkqgAwIBAgIJAMvPXQVBsjM2MA0GCSqGSIb3DQEBCwUAMIGKMQswCQYD VQQGEwJGUjEPMA0GA1UEB

Re: [twsocket] SSL Certificates check

2011-05-09 Thread Arno Garrels
marius gabi wrote: >> Here are the files with OK := 1; >> >> cert0 = Greatest CA (same as server's great CA) >> cert1 = Intermediary CA (client's intermediary different from mine's >> server) cert2 = Client certificate Use at least OpenSSL version 0.9.8k from: http://wiki.overbyte.be/wiki/index.p

[twsocket] SSL Certificates check

2011-05-09 Thread marius gabi
Thank you for your time! Indeed updating the OpenSSL version fixed my issue but the following strange thing happens: currently I am using ICS V7 but the highest version supported by my ICS is 0.9.8n and in this case the application still would not work OK. The OpenSSL ver 0.9.8r (or higher) is

Re: [twsocket] SSL Certificates check

2011-05-09 Thread Arno Garrels
marius gabi wrote: > Thank you for your time! > > Indeed updating the OpenSSL version fixed my issue but the following > strange thing happens: currently I am using ICS V7 but the highest > version supported by my ICS is 0.9.8n and in this case the > application still would not work OK. What does

[twsocket] HTTP client 100% CPU usage and no timeout issue

2011-05-09 Thread Fastream Technologies
Hello, I am not sure whether 100% CPU usage is component originated but sometimes the below code does not timeout: sendStream = new TMemoryStream(); receivedStream = new TMemoryStream(); HTTPClient = new TSslHttpCli(NULL); sslContext = new TSslContext(NULL); HTTPClient->C

[twsocket] OpenSSL 1.0.0d migration issue

2011-05-09 Thread Fastream Technologies
Hello, I have, 1. Downloaded the latest snapshot from the wiki page. 2. Modified ICS conditionals as NDEBUG;NO_STRICT;PANTERA;NOFORMS;NO_DEBUG_LOG;USE_SSL;SECURITY_WIN32;NO_ADVANCED_HTTP_CLIENT_FEATURES;NO_ADV_MT 3. Enabled TLSEXT from the SSL inc file 4. Compiled our proxy server and web stress t

Re: [twsocket] OpenSSL 1.0.0d migration issue

2011-05-09 Thread Fastream Technologies
I have also included the BCB/ICS source code in the link below: http://www.fastream.com/ics/WebStressTester.zip This tester works but the proxy web server fails with a AV in Libeay32.dll. Regards, SZ On Tue, May 10, 2011 at 09:14, Fastream Technologies wrote: > Hello, > > I have, > 1. Downloade