Re: [twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
No sweat, glad to be of service :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois Piette Sent: 18 August 2008 15:23 To: ICS support mailing Subject: Re: [twsocket] SSL Help > I've now used the quicklinks to latest ICS version which redirected m

Re: [twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
Thanks Angus! I've tried another browser and control+refresh, but I still only see this page: http://cde.co.za/shared/hein/overbyte.jpg Very weird. Maybe I'm not seeing it! However your link works perfectly! I see many references SSL - will check it out! Thanks, Hein -Original Message--

Re: [twsocket] SSL Help

2008-08-18 Thread Francois Piette
> I've now used the quicklinks to latest ICS version which redirected me to > ics.zip which seems to be newer - is this correct? Possible that I forgot to update quick links ! Sorry. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, fr

Re: [twsocket] SSL Help

2008-08-18 Thread Francois Piette
> Following the menu on the left of the page takes me to: ICS V6 > for Delphi 7 and up Beta (Nov 14, 2007) Make sure to configure your browser to check for new page at each request ! If you pass thru a proxy, make sure the proxy isn't configured to cache the pages. Manually do a refresh (F5 in IE)

Re: [twsocket] SSL Help

2008-08-18 Thread Angus Robertson - Magenta Systems Ltd
> 'm beeing a pain, but I'n unable to find the latest V6 on the site, The ICS web site does use a lot of frames, scripts and redirections making it very hard to bookmark pages and files. You must be looking at an old cached version from somewhere, the latest page is dated Aug 12 is very small type

Re: [twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
Hi Angus I'm beeing a pain, but I'n unable to find the latest V6 on the site, nor can I find the release article in the archives of this list. Following the menu on the left of the page takes me to: ICS V6 for Delphi 7 and up Beta (Nov 14, 2007) Following the quick link at the top takes me to ic

Re: [twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
Arno, I meant Clever Components Internet Connectivity Suite. A commercial solution, but support is slow... I'll check out the new download I was referred to by Angus. Regards, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: 18 A

Re: [twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
Thanks Angus, I've followed the ICS link on the left from the home page, which took me to the same downloads I have. I've now used the quicklinks to latest ICS version which redirected me to ics.zip which seems to be newer - is this correct? Thanks, Hein -Original Message- From: [EMAIL

Re: [twsocket] SSL Help

2008-08-18 Thread Arno Garrels
Hein du Plessis wrote: > Hi Angus > > I could not find any SSL specific samples in my SSLINTERNET folder. > I'm using the V6Beta download. I do not know where you downloaded a V6Beta, the version that has free SSL support is named: "ICS-V6 Release Candidate #1" Get this file from http://www.overb

Re: [twsocket] SSL Help

2008-08-18 Thread Arno Garrels
Hein du Plessis wrote: > Hi Arno > > Yes, a client certificate. This is not for html but for a custom > tcp/ip protocol. The supplier (sever) maintains I need one for my > application despite my arguments :) Again, look at the Https demo, it handles client certificates. The SSL-enabled components

Re: [twsocket] SSL Help

2008-08-18 Thread Angus Robertson - Magenta Systems Ltd
> I'm using the V6Beta download. > Can I buy it? You are using an old version, you need to download the latest V6 from the web site, which now includes SSL for free, as it says on the web site, and as announced in this mailing list last week. Angus -- To unsubscribe or change your settings for

Re: [twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
Hi Arno Yes, a client certificate. This is not for html but for a custom tcp/ip protocol. The supplier (sever) maintains I need one for my application despite my arguments :) I've purchased Clever ICS and I get a "local certificate not found" or equivalent and they don't have samples of implement

Re: [twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
Hi Angus I could not find any SSL specific samples in my SSLINTERNET folder. I'm using the V6Beta download. I haven't been looking at ICS source code. I've had a quick look now and from what I can see: { You must define USE_SSL so that SSL code is included in the component. } { To be able to com

Re: [twsocket] SSL Help

2008-08-18 Thread Arno Garrels
> I have the certificate for the server I need to > connect to, Are you talking about client certificates? Usually servers do not request a (client)certificate from the client. When you connect to, i.e., https://www.microsoft.com the server sends one or multiple certificates to the client. Client'

Re: [twsocket] SSL Help

2008-08-18 Thread Angus Robertson - Magenta Systems Ltd
> I need some help again. How do I go about adding SSL support on the > TWSocket control? > but I've really searched for some sample code with no luck. Have you looked at all the sample SSL projects in the SSLINTERNET sub-directory? Or at the source code of all the existing components that ha

[twsocket] SSL Help

2008-08-18 Thread Hein du Plessis
Hi guys I need some help again. How do I go about adding SSL support on the TWSocket control? I have the certificate for the server I need to connect to, but I have no idea how to install it on the socket layer. I also assume I need a local certificate - how do I create, install and use it? Sor

Re: [twsocket] Converting memorystream to string?

2008-08-18 Thread GC
At 20:03 14/08/2008, Piotr Da?ek wrote: > >> procedure LoginSocketDocEnd(Sender: TObject); > >> var p: PChar; > >>s: string; > >> begin > >> p := TMemoryStream(LoginSocket.RcvdStream).Memory; > >> s:= Copy(StrPas(p), 1, LoginSocket.RcvdStream.Size); > >This will crash if source TMemoryStream