BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Synapse server & ssl

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
dh
Guest





PostPosted: Thu Sep 18, 2003 1:03 pm    Post subject: Synapse server & ssl Reply with quote



Does anyone here use synapse ?
I need an example of how to make a simple https server...the supplied demos
don't quite cut i, and my attempts just result in a hung connection.

thank, dh.



Back to top
Lukas Gebauer
Guest





PostPosted: Thu Sep 18, 2003 1:47 pm    Post subject: Re: Synapse server & ssl Reply with quote



dh wrote:
Quote:
Does anyone here use synapse ?
I need an example of how to make a simple https server...the supplied demos
don't quite cut i, and my attempts just result in a hung connection.

Look to HttpServ demo. Find begin of TTCPHttpThrd.Execute procedure.

On begin of this procedure insert this lines:

sock.SSLCertificateFile:='c:DokumentysoftsocketCACERT.PEM';
sock.SSLPrivateKeyFile:='c:DokumentysoftsocketCAKEY.PEM';
sock.SSLCertCAFile:='c:Dokumentysoftsocketca-bundle.crt';
sock.SSLPassword:='xxxx';
sock.SSLAcceptConnection;

This is all!

Right, you must correct file paths to keys and certificates. If your key
is protected by password, then you must use them instead 'xxxx'. Iy you
not need a password, then yo can leave this line out.

When sock.lasterror is 0 after this lines, then you have SSL.TLS
connection turned on. ;-)

Note: https servers usualy not listenning on port 80, but it listnning
on port 443. You need change listenning port too!

--
Lukas Gebauer.
http://www.ararat.cz/synapse/ - Ararat Synapse - TCP/IP Lib.


Back to top
willy chandra
Guest





PostPosted: Thu Sep 18, 2003 3:36 pm    Post subject: Re: Synapse server & ssl Reply with quote




hi dh,

i think to get the fast answer, you should ask your question in SynaList. the Synapse Forum in yahoo groups

Ciaoo willy

"dh" <dh (AT) nospams (DOT) com> wrote:
Quote:
Does anyone here use synapse ?
I need an example of how to make a simple https server...the supplied demos
don't quite cut i, and my attempts just result in a hung connection.

thank, dh.





Back to top
Charles Stack
Guest





PostPosted: Tue Sep 30, 2003 4:13 pm    Post subject: Re: Synapse server & ssl Reply with quote

StrSecII (www.streamsec.com) supports Synapse. You will need to download
the latest Synapse code, define StrSecII somewhere in one of the files, and
compile. Naturally, you need to own StrSecII.

StreamSecII also supports currently supports INDY and DxSock TLS uses it as
well.

So, clearly there are plenty of options.

Another alternative is SecureBlackBox (www.secureblackbox.com) and write a
wrapper for Synapse. It currently supports INDY, ICS and Borland Sockets.

Hope this helps.

Charles



"dh" <dh (AT) nospams (DOT) com> wrote

Quote:
Does anyone here use synapse ?
I need an example of how to make a simple https server...the supplied
demos
don't quite cut i, and my attempts just result in a hung connection.

thank, dh.






Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.