 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
dh Guest
|
Posted: Thu Sep 18, 2003 1:03 pm Post subject: Synapse server & ssl |
|
|
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
|
Posted: Thu Sep 18, 2003 1:47 pm Post subject: Re: Synapse server & ssl |
|
|
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
|
Posted: Thu Sep 18, 2003 3:36 pm Post subject: Re: Synapse server & ssl |
|
|
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
|
Posted: Tue Sep 30, 2003 4:13 pm Post subject: Re: Synapse server & ssl |
|
|
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 |
|
 |
|
|
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
|
|