Will SecureBridge SSL component fit our use case

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
arwdab
Posts: 1
Joined: Mon 11 Jul 2022 14:54

Will SecureBridge SSL component fit our use case

Post by arwdab » Mon 11 Jul 2022 16:05

Hi

We are currently using Indy9 in a Delphi 7 solution sending binary stream data via tcp and also misusing http to send the same stream in POST requests. The system owns the communication, that is, we have full control over both the clients and servers and doesn't need to support any third parties, public api etc.

The current world situation now triggered a lot of our customers to demand secure communication, most of them mentioning SSL/TLS 1.3/HTTPS. Hence, we are currently examining if the SecureBridge components can replace the Indy9 components (we are only using the TIdTcpClient, TIdTcpServer, TIdHttp and TIdHTTPServer components).
  • Are the TScSSLServer and TScSSLClient components a good fit for our scenario?
    With Indy 9 we use the TIdTcpClient.WriteStream followed by TIdTcpClient.ReadStream functions and for the misuse of http we use TIdHttp.DoRequest(hmPost, '/', RequestStream, ResponseStream) from the clients.
  • I have tried to do a simple proof of concept of using the TScSSLServer and TScSSLClient components but got stuck and can't find any demos nor any documentation for TScSSLServer. Is there a demo (or even better a tutorial with descriptions) for those components available?
Thanks
Stefan

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Will SecureBridge SSL component fit our use case

Post by Dimon » Mon 01 Aug 2022 18:39

To work with the TCP protocol, please use the TScTCPConnection component.
To work with the HTTP protocol, you can use the TScHttpWebRequest and TScHttpServer components. These components support the secure TLS 1.3 protocol.

You can find how to work with the TScHttpWebRequest component in the topic:
viewtopic.php?f=27&t=39705

Post Reply