Re: [twsocket] TWSocket and SSL

2011-01-14 Thread Francois PIETTE

Hello Daniel,

I think you first need a little background knowledge about SSL and then you 
can apply it with ICS components.


You should probably read the book (or at least parts of it): Network 
security win OpenSSL by John Viega, matt Messier  Pravir Chandra. 
O-Reilly. ISBN 0-596-00270-X. You can find it on Amazon and in any good book 
store.
This book is very interesting for you because ICS-SSL is based on OpenSSL. 
ICS-SSL components hide the complexity of OpenSSL programming, nevertheless, 
the fundamental information is the same. Just skip any code section.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


- Original Message - 
From: daniel cc dan...@signedsource.com

To: ICS support mailing twsocket@elists.org
Sent: Thursday, January 13, 2011 9:41 PM
Subject: Re: [twsocket] TWSocket


Yeah,
Many thanks Arno :)
Rebuilding did help.

How about the SSL keys and the certificate?
How do I use the keys in both locations (server and client), where do I copy
the keys, how do I build keys?

Thanks in advance

-daniel

-Original Message- 
From: Arno Garrels

Sent: Thursday, January 13, 2011 10:12 PM
To: ICS support mailing
Subject: Re: [twsocket] TWSocket

daniel cc wrote:

Hi,
I have got everythíng needed but still can't run the demos,
do I need to register the dll files?


No, rebuild the project, just a compile is not enough.
Whenever a conditial define changed you have to (re)build
the project, sometimes even that does not work, in such cases
(re)build the package first.

--
Arno Garrels
--
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

--
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 


--
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


Re: [twsocket] TWSocket and SSL

2011-01-14 Thread daniel cc

Hi Francois,
Thanks for the response :)
I don't have the book yet but I have already collected some info.

Here are few unclear things,
1) Do I need to install the OpenSSL to the machine?
2) How do I use the batch file for making the keys, the batch file is made 
by you and it is founded in SSL directory of the component, this batch file 
looks real good but how it works?
3) How  do I set the keys for each client and where do I keep the keys in 
the server?
4) How about the root certificate, where do I keep it, in my server 
directory?


You see,
I need to first understand the basic things about the component and will go 
for the secrets of SSL after that :)


Thanks in advance

With best regards

-daniel

-Original Message- 
From: Francois PIETTE

Sent: Friday, January 14, 2011 11:12 AM
To: ICS support mailing
Subject: Re: [twsocket] TWSocket and SSL

Hello Daniel,

I think you first need a little background knowledge about SSL and then you
can apply it with ICS components.

You should probably read the book (or at least parts of it): Network
security win OpenSSL by John Viega, matt Messier  Pravir Chandra.
O-Reilly. ISBN 0-596-00270-X. You can find it on Amazon and in any good book
store.
This book is very interesting for you because ICS-SSL is based on OpenSSL.
ICS-SSL components hide the complexity of OpenSSL programming, nevertheless,
the fundamental information is the same. Just skip any code section.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


- Original Message - 
From: daniel cc dan...@signedsource.com

To: ICS support mailing twsocket@elists.org
Sent: Thursday, January 13, 2011 9:41 PM
Subject: Re: [twsocket] TWSocket


Yeah,
Many thanks Arno :)
Rebuilding did help.

How about the SSL keys and the certificate?
How do I use the keys in both locations (server and client), where do I copy
the keys, how do I build keys?

Thanks in advance

-daniel

-Original Message- 
From: Arno Garrels

Sent: Thursday, January 13, 2011 10:12 PM
To: ICS support mailing
Subject: Re: [twsocket] TWSocket

daniel cc wrote:

Hi,
I have got everythíng needed but still can't run the demos,
do I need to register the dll files?


No, rebuild the project, just a compile is not enough.
Whenever a conditial define changed you have to (re)build
the project, sometimes even that does not work, in such cases
(re)build the package first.

--
Arno Garrels
--
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

--
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

--
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 


--
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


Re: [twsocket] TWSocket and SSL

2011-01-14 Thread Francois PIETTE

I don't have the book yet but I have already collected some info.
Here are few unclear things,
1) Do I need to install the OpenSSL to the machine?


Yes, but this is simply copying the two OpenSSL DLL

2) How do I use the batch file for making the keys, the batch file is made 
by you and it is founded in SSL directory of the component, this batch 
file looks real good but how it works?


You  need the book to get the command line utility syntax.

3) How  do I set the keys for each client and where do I keep the keys in 
the server?


You don't need a key per client on the server.

4) How about the root certificate, where do I keep it, in my server 
directory?


Open OverbyteIcsWSocket.pas and search for Reference guide in the 
comments.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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